Component libraryOnboarding checklist
Onboarding checklist
ProA controlled workspace checklist with native step actions, optional details, and accessible required-step progress.
npx shadcn@latest add @tidal-pro/onboarding-checklistInstallation
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/onboarding-checklist.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 steps are required. Each step has a stable id, title, optional description/details/completed/optional/disabled state, native action and disclosure button attributes/types/refs, and consumer-owned action labels. The section forwards native attributes/ref. Optional currentStepId sets aria-current=step. Native progress reflects completed required steps, preserves consumer aria-valuetext through progressProps, and exposes a progress ref; optional steps never block completion, and a nonempty all-optional list is complete with no required progress meter. Step headings default one level below the root heading while stepHeadingLevel remains an explicit override. Expansion supports controlled expandedStepId or uncontrolled defaultExpandedStepId plus onExpandedStepChange. onStepAction runs after the step button's native onClick unless prevented. Root or step disabled state preserves native disabled controls. Optional eyebrow, heading levels, progress label, empty message, and footer remain consumer-owned. The component makes no account, workspace, request, storage, persistence, or completion side effect claim.
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.