Skip to main content
Decap CMS
    • For Developers
    • For Editors
    • For Teams
    • For Agencies
    • All Features
    • Documentation
    • Blog
    • What's New
    • About
    • Community
    • Contact Support
  • Decap Turbo new
  • 19.4k

Intro to Decap CMS

  • Decap CMS overview
  • Start with a Template
  • Releases and Updating

Add To Your Site

  • Basic Steps
  • 1. Install Decap CMS
  • 2. Choosing a Backend
  • 3. Configure Decap CMS
  • 4. Access Your Content

Account Settings

  • Backends overview
  • Git Gateway
  • Azure
  • Bitbucket
  • Gitea / Forgejo
  • GitHub
  • GitLab
  • Test
  • External OAuth Clients
  • Decap Proxy: Work With a Local Repository

Configuring your Site

  • Configuration Options
  • i18n Support

Media

  • Cloudinary
  • Netlify Large Media
  • Uploadcare

Workflow

  • Deploy Preview Links
  • Editorial Workflows
  • Open Authoring

Collections

  • Folder Collections
  • File Collections
  • Nested Collections (beta)
  • Summary String Transformations

Fields

  • Widgets
  • Creating Custom Widgets
  • Dynamic Default Values
  • Variable Type Widgets

Platform Guides

  • Gatsby
  • Hugo
  • Jekyll
  • NextJS
  • Nuxt
  • Middleman
  • Gridsome
  • Docusaurus
  • VitePress

Customizing Decap CMS

  • Creating Custom Previews
  • Editor Tooling
  • Manual Initialization
  • Registering to CMS Events
  • Custom Mount Element

Community

  • Contributor Guide
  • Writing Style Guide
  • Examples
  • Architecture

Decap Turbo

  • Decap Turbo overview
  • Getting started
  • Connecting a site
  • How it works
  • Deploy status
  • Deploy status setup
  • Organizations, sites, and roles
  • Media library
  • Billing and plans
  • Troubleshooting & FAQ
Edit this page

String

The string widget translates a basic text input to a string value. For larger textarea inputs, use the text widget.

Name: string

UI: text input

Data type: string

Options:

  • default: accepts a string; defaults to an empty string

Example

- {label: "Title", name: "title", widget: "string"}

Result

toggle switch

Decap CMS

Maintained in Europe, shaped by contributors from around the world.

Decap CMS

  • All features
  • About
  • Releases
  • Privacy & Cookies

Decap Turbo

  • Overview
  • Terms of Service
  • Privacy Policy
  • Refund Policy
  • Data Processing Agreement

Resources

  • Documentation
  • Blog
  • Distributed under MIT License
  • Contributing Guide

Community

  • Discord
  • GitHub
  • All channels

© 2026 Decap CMS. Open-source content management for your Git workflow.

We use analytics scripts that help us understand how visitors use this site. These aren't loaded until you accept. See our Privacy & Cookies Policy for details.