TidalUI

Hero section preview

A responsive editorial hero with native actions and a composable product visual slot.

pro · Marketing · section

When to use

Alternatives

Configure components.json and the @tidal-pro namespace before installing Pro components.

Installation

npx shadcn@latest add @tidal-pro/hero-section

Import components/ui/tidal.css, components/ui/hero-section.css. Wrap installed components in tidal-scope.

Preview

Hero section component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/hero-section.css";
import{TidalHeroSection}from"./components/ui/hero-section";
export default()=><div className="tidal-scope"><TidalHeroSection title={"Demo"}/></div>;

API and props

TidalHeroSection.title (required)
ReactNode

Required title value accepted by this exported component.

TidalHeroSection.actions
ReactNode

Optional actions value accepted by this exported component.

TidalHeroSection.description
ReactNode

Optional description value accepted by this exported component.

TidalHeroSection.eyebrow
ReactNode

Optional eyebrow value accepted by this exported component.

TidalHeroSection.headingLevel
TidalHeroHeadingLevel | undefined

Optional heading level value accepted by this exported component.

TidalHeroSection.layout
TidalHeroLayout | undefined

Optional layout value accepted by this exported component.

TidalHeroSection.motion
"none" | "enter" | undefined

Optional motion value accepted by this exported component.

TidalHeroSection.visual
ReactNode

Optional visual value accepted by this exported component.

TidalHeroSection.visualLabel
string | undefined

Optional visual label value accepted by this exported component.

TidalHeroSection.visualPosition
"start" | "end" | undefined

Optional visual position value accepted by this exported component.

TidalHeroAction.variant
TidalHeroActionVariant | undefined

Optional variant value accepted by this exported component.

TidalHeroLink.href (required)
string

Required href value accepted by this exported component.

TidalHeroLink.variant
TidalHeroActionVariant | undefined

Optional variant value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas