FAQ accordion preview
Expandable questions and answers with keyboard navigation.
pro · Essentials · primitive
When to use
- Use it when a product interface needs expandable questions and answers with keyboard navigation.
- Choose it when the host application can supply the required state and keep business logic outside the presentation component.
Alternatives
- Choose tidal-button instead when press, loading, success and disabled states is the actual interface need, rather than faq accordion.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/accordionImport components/ui/tidal.css, components/ui/accordion.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/accordion.css";
import{TidalAccordion}from"./components/ui/accordion";
export default()=><div className="tidal-scope"><TidalAccordion items={[{value:"value",title:"Demo",content:"value"}]} label={"Demo"} onValueChange={() => {}} value={"value"}/></div>;API and props
TidalAccordion.items (required)Array<TidalAccordionItem>Required items value accepted by this exported component.
TidalAccordion.label (required)stringRequired label value accepted by this exported component.
TidalAccordion.onValueChange (required)((value: string) => void) | ((value: string[]) => void)Callback invoked when the value change interaction is proposed.
TidalAccordion.value (required)string | Array<string>Required value value accepted by this exported component.
TidalAccordion.classNamestring | undefinedOptional class name value accepted by this exported component.
TidalAccordion.collapsibleboolean | undefinedOptional collapsible value accepted by this exported component.
TidalAccordion.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalAccordion.headingLevel2 | 3 | 4 | 5 | 6 | undefinedOptional heading level value accepted by this exported component.
TidalAccordion.mode"multiple" | "single" | undefinedOptional mode value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.