TidalUI

Call to action section preview

A compact paper-and-ink conversion panel with consumer-owned native link and button actions.

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/call-to-action-section

Import components/ui/tidal.css, components/ui/call-to-action-section.css. Wrap installed components in tidal-scope.

Preview

Call to action section component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/call-to-action-section.css";
import{TidalCallToActionSection}from"./components/ui/call-to-action-section";
export default()=><div className="tidal-scope"><TidalCallToActionSection actions={[{kind:"link",href:"#",id:"example",label:"Demo"}]} title={"Demo"}/></div>;

API and props

TidalCallToActionSection.actions (required)
ReadonlyArray<TidalCallToAction>

Required actions value accepted by this exported component.

TidalCallToActionSection.title (required)
ReactNode

Required title value accepted by this exported component.

TidalCallToActionSection.actionsLabel
string | undefined

Optional actions label value accepted by this exported component.

TidalCallToActionSection.description
ReactNode

Optional description value accepted by this exported component.

TidalCallToActionSection.detail
ReactNode

Optional detail value accepted by this exported component.

TidalCallToActionSection.detailLabel
ReactNode

Optional detail label value accepted by this exported component.

TidalCallToActionSection.emptyActionsMessage
ReactNode

Optional empty actions message value accepted by this exported component.

TidalCallToActionSection.eyebrow
ReactNode

Optional eyebrow value accepted by this exported component.

TidalCallToActionSection.footer
ReactNode

Optional footer value accepted by this exported component.

TidalCallToActionSection.headingLevel
"h2" | "h3" | "h4" | undefined

Optional heading level value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas