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

Text

HomeText

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. Text

Text

  • Name: text
  • UI: Textarea
  • Data type: string

The text widget takes a multiline text field and saves it as a string. For shorter text inputs, use the string widget.

Widget Options

For common options, see Common widget options.

Name

Type

Default

Description

default

string

''

Optional. The default value for the field. Accepts a string

Example

  • YAML
  • JavaScript
name: description
label: Description
widget: text
name: 'description',
label: 'Description',
widget: 'text',

Doc navigation

← StringUUID →

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