Edit Schema: Site Header

Component Info

Form settings

When set, this component is rendered as a form. On submit, field values are sent as JSON to the API route.

Fields

6 fields
1
Site Title(title)
text
2
Navigation Links(links_json)
textarea
3
CTA Button Label(cta_label)
text
4
CTA Button URL(cta_href)
url
5
Sticky Header(sticky)
boolean
6
Show Shadow(shadow)
boolean

Changing the schema regenerates the component file

Existing content data is preserved for unchanged fields. New fields will be initialized with default values.

Saves to cms-data/schemas/ and regenerates generated-components/default-header.tsx