Component libraryHero section
Hero section
ProA responsive editorial hero with native actions and a composable product visual slot.
npx shadcn@latest add @tidal-pro/hero-sectionInstallation
Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.
Terminal
Import components/ui/tidal.css, components/ui/hero-section.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.
Usage
Complete example source · Dependency and asset manifest
Loading the complete example…
API & behavior
Required title; optional eyebrow, description, actions and visual ReactNode slots. visualLabel names the optional visual group. headingLevel: h1(default) | h2 | h3. layout: split(default) | centered. visualPosition: start | end(default). motion: enter(default) | none. The section and supplied native actions/links forward native attributes and refs; consumers own navigation, product state and visual semantics.
Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.