Component props & configuration
This page documents the most common props and configuration options exposed by sections in @webbycrown/layout-suite.
HeroSection
| Prop | Type | Description |
|---|---|---|
|
title |
string |
Main headline of the hero. |
|
subtitle |
string |
Short supporting description. |
|
primaryAction |
{ label: string; href: string } |
Primary call-to-action button. |
|
secondaryAction |
{ label: string; href: string } |
Optional secondary action (link or button). |
|
alignment |
“left” | “center” |
Controls text and content alignment. |
FeaturesSection
| Prop | Type | Description |
|---|---|---|
|
title |
string |
Section heading. |
|
subtitle |
string |
Optional supporting copy. |
|
items |
Array<{ title: string; body: string; icon?: string }> |
List of value propositions to render. |
|
columns |
number |
Number of columns on desktop. |