What is a component?
Components are a special field type you can add to Page schemas. A Component allows you to logically group related content fields to make it easy for content editors to build new unique pages. They’re the building blocks that let you mix and match different types of content sections.Key features
Create a Component to group related fields together in a single building block.
Save any Component to your Component library and reuse its schema on any other Page.
Utilize trigger fields (checkboxes and dropdowns) to conditionally show/hide other fields (like an “on-sale” checkbox that shows or hides discount options).
Add the Component Picker to your Page schema to allow content editors to build flexible layouts from a preselected allowlist of components.
All of the Component’s data is grouped in the Page’s API response under the Component’s slug.
Field at a glance
Input and output
Input type
Varies; Component is defined in Page schema with your choice of field types
API output
objectAPI response
Fetching Components from the API
Learn more about how Components are returned by the API, and how to model Component content in your app.
Field configuration and validation options
Working with different Component types
Text Components
Text components typically contain a WYSIWYG editor for rich content:- Format text with bold, italic, headings
- Add links and lists
- Insert images inline
- Use all WYSIWYG features
Media Components
Media components focus on visual content:- Upload or select images from Media Library
- Set alt text for accessibility
- Specify dimensions if required
- Add captions where available
CTA Components
Call-to-action Components drive user engagement:- Set compelling headlines
- Write persuasive body text
- Configure button text and link
- Choose brand colors (if available)
Common Component configurations
Hero sectionBest practices
Content organization- Plan your page structure before adding components
- Use a logical flow: Hero → Features → Content → CTA
- Group related information in the same component
- Alternate between text-heavy and visual components
- Don’t stack too many components of the same type
- Use CTA components strategically (not too many)
- Use similar formatting across components
- Keep headlines at consistent lengths
- Use the same image dimensions for similar components
- Don’t add too many components to a single page
- Optimize images before uploading to media components
- Keep text concise and scannable
Troubleshooting
I don't see the Component I need
I don't see the Component I need
Components are defined by your developer at the Page Type level. Contact them to add new component options.
Component fields are confusing
Component fields are confusing
Check with your developer for field descriptions, or look for help text below each field.
Preview doesn't show my changes
Preview doesn't show my changes
Preview automatically saves your draft before displaying. If issues persist, ensure your preview URL is configured correctly.
Best practices
Component design- Keep components self-contained: All necessary fields within the component
- Use sensible defaults: Pre-populate common values
- Limit field count: 5-10 fields per component is ideal
- Consider mobile: Design components that work on all devices
- Standardize naming: Consistent conventions across components
- Create documentation: Screenshots and descriptions for editors
- Test before publishing: Ensure components render correctly
- Version carefully: Changes affect all pages using the component
- Lazy load heavy components: Video, carousels, large images
- Use responsive images: Different sizes for different screens
- Minimize component count: More components = more complexity