DocsRoadmapBlogChangelogDemo
Home
Roadmap
Blog
Docs
Introduction
Getting started
Configuration
Creating a CMS instance
Schema
Workspaces
Roots
Type
Internationalization
Fields
Overview
Text
Rich text
Select
Number
Check
Date
Link
File
Image
Code
Object
List
Tabs
Guide: creating custom fields
Content
Content structure
Querying content
TypeScript
Previews
Live previews
Guide: setting up Next.js previews
Deploy
Deploying alinea
Exporting the dashboard
Guide: creating a custom backend
Guide: connecting to alinea.cloud
Reference
Titles
@alinea/generated
CLI
Developer
Changelog
Playground
DocsRoadmapBlogChangelogDemo
Introduction
Getting started
Configuration
Creating a CMS instance
Schema
Workspaces
Roots
Type
Internationalization
Fields
Overview
Text
Rich text
Select
Number
Check
Date
Link
File
Image
Code
Object
List
Tabs
Guide: creating custom fields
Content
Content structure
Querying content
TypeScript
Previews
Live previews
Guide: setting up Next.js previews
Deploy
Deploying alinea
Exporting the dashboard
Guide: creating a custom backend
Guide: connecting to alinea.cloud
Reference
Titles
@alinea/generated
CLI
Docs/Fields

Text

A text field is used to input textual data.

import {alinea} from 'alinea'
alinea.text('My text field', {
  help: 'This is an example field',
  multiline: true
})
Previous
Overview
Next
Rich text

Developer

Docs
Changelog
Playground
Source