Component libraryCall to action section
Call to action section
ProA compact paper-and-ink conversion panel with consumer-owned native link and button actions.
npx shadcn@latest add @tidal-pro/call-to-action-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/call-to-action-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
title and typed actions are required. Actions are discriminated native links with href/linkProps/ref or buttons with onAction/buttonProps/ref, optional icon, primary/secondary variant and disabled state. Native button onClick runs before onAction and preventDefault suppresses the higher callback; button type defaults to button. Disabled links suppress the consumer click and navigation. The section forwards native attributes/ref. Optional description, eyebrow, detail/detailLabel, actionsLabel, emptyActionsMessage, footer and headingLevel are consumer-owned ReactNode or label values. Consumers own destinations, action outcomes, requests, persistence and announcements; the component performs no signup, purchase, storage or network work.
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.