Skip to content
Static CMS | Open Source Content Management System
Static CMS | Open Source Content Management System
  • Home
  • Docs
  • Examples
SPONSOR

UUID

HomeUUID

docs

⌘K
  • Getting Started
    • Overview
    • Start with a Template
    • Add to Your Site
    • CDN Hosting
    • Bundling
    • Configuration Options
    • Typescript
    • Beta Features
  • Migration Guides
    • Updating Your CMS
    • How to Upgrade to v4
    • Decap / Netlify Migration Guide
  • Backends
    • Overview
    • Git Gateway
    • GitHub
    • Bitbucket
    • GitLab
    • Gitea
    • Local Backend
    • Test Backend
  • Workflow
    • Editorial Workflow (Beta Feature)
    • Open Authoring (Beta Feature)
  • Collections
    • Collections Configuration
    • Collection Types
    • i18n Support
  • Widgets
    • Overview
    • Boolean
    • Code
    • Color
    • DateTime
    • File
    • Hidden
    • Image
    • Key Value
    • List
    • Map
    • Markdown
    • Number
    • Object
    • Relation
    • Select
    • String
    • Text
    • UUID
  • Media
    • Netlify Large Media (Deprecated)
  • Customizing Static CMS
    • Overview
    • Theming
    • Creating Custom Widgets
    • Creating Custom Previews
    • Custom Links & Pages
    • Adding Custom Icons
    • Events Hooks
  • Community
    • Contributor Guide
    • Writing Style Guide
    • Examples
  1. Home
  2. Docs
  3. docs
  4. Widgets
  5. UUID

UUID

  • Name: uuid
  • UI: Text input
  • Data type: string

The uuid widget generates a unique id (uuid) and saves it as a string.

Widget Options

For common options, see Common widget options.

Name

Type

Default

Description

allow_regenerate

boolean

true

Optional. If set to false the Generate new UUID button does not appear in the UI

prefix

string

Optional. A value to add at the beginning of the UUID

Example

  • YAML
  • JavaScript
name: id
label: Id
widget: uuid
name: 'id',
label: 'Id',
widget: 'uuid',

Doc navigation

← Text

© 2025 Static CMS | Open Source Content Management System - All Rights Reserved. Powered by netlify