Edit Schema: Hero Banner

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

11 fields
1
Title(title)
text
2
Subtitle(subtitle)
textarea
3
Primary Button Label(primary_label)
text
4
Primary Button URL(primary_href)
url
5
Secondary Button Label(secondary_label)
text
6
Secondary Button URL(secondary_href)
url
7
Background Image URL(bg_image)
url
8
Enable Carousel / Slideshow(carousel_enabled)
boolean
9
Slide Duration (seconds)(slide_duration)
number
10
Max Slides to Show(slides_count)
number
11
Slides (JSON)(slides_json)
textarea

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-hero.tsx