Component Field Reference
Component Field Reference
This reference covers the field types available when defining FaceFlow Components.
Use this section when you need to decide what kind of editor-facing input a section should expose and how that input should be rendered safely and predictably.
Top-Level Field Types
- Text
- Textarea
- Number
- URL
- Date
- Image
- Images
- File
- Select
- Checkbox
- Richtext
- HTML Code
- Map
- Repeater
- Form Select
- Review Select
Repeater-Only Subfield Types
These field types are intended for use inside repeater rows rather than as general top-level section fields.
Field Selection Rules
Choose a field type by the content contract you want to preserve:
- use
textfor short strings - use
textareafor plain multi-line copy - use
numberfor numeric values that should stay numeric - use
urlfor links and destinations - use
datefor publish, event, or timeline dates - use
imageorimagesfor managed media - use
filefor downloadable assets - use
selectorcheckboxfor controlled options - use
richtextfor editorial formatting - use
htmlcodeonly for controlled advanced markup - use
mapfor structured location data - use
repeaterfor structured repeated rows - use
formSelectandreviewSelectfor managed embeds
Quick Decision Guide
one short string -> text
one multi-line plain block -> textarea
formatted editorial content -> richtext
repeatable cards or FAQs -> repeater
embed a managed Form -> formSelect
embed a managed Review -> reviewSelect
advanced custom markup -> htmlcodeSchema Example
[
{ "name": "title", "label": "Title", "type": "text" },
{ "name": "summary", "label": "Summary", "type": "textarea" },
{ "name": "heroImage", "label": "Hero Image", "type": "image" },
{ "name": "ctaUrl", "label": "CTA URL", "type": "url" }
]