Skip to content

Interface: HeroAction

Properties

text

text: string

Button text

link

link: string | Partial<Path>

Link destination - internal route path or external URL

theme

optional

theme: "brand" | "alt"

Visual theme: "brand" for primary, "alt" for secondary

icon

optional

icon: ReactNode

Optional icon as ReactNode (e.g. Lucide icon component)

Source

ui/components/Hero.tsx


← HeadConfig | HeroImage →