TidalUI

Settings panel preview

A native settings form for controlled toggles, selects, radio choices, and consumer-owned apply or reset behavior.

pro · Blocks · composite

When to use

Alternatives

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

Installation

npx shadcn@latest add @tidal-pro/settings-panel

Import components/ui/tidal.css, components/ui/settings-panel.css. Wrap installed components in tidal-scope.

Preview

Settings panel component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/settings-panel.css";
import{TidalSettingsPanel}from"./components/ui/settings-panel";
export default()=><div className="tidal-scope"><TidalSettingsPanel groups={[{id:"example",title:"Demo",fields:[{kind:"toggle",checked:false,onCheckedChange:() => {},id:"example",name:"Demo",label:"Demo"}]}]} title={"Demo"}/></div>;

API and props

TidalSettingsPanel.groups (required)
ReadonlyArray<TidalSettingsGroup>

Required groups value accepted by this exported component.

TidalSettingsPanel.title (required)
ReactNode

Required title value accepted by this exported component.

TidalSettingsPanel.applyButtonProps
Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> | undefined

Optional apply button props value accepted by this exported component.

TidalSettingsPanel.applyLabel
ReactNode

Optional apply label value accepted by this exported component.

TidalSettingsPanel.applyRef
Ref<HTMLButtonElement> | undefined

Optional apply ref value accepted by this exported component.

TidalSettingsPanel.description
ReactNode

Optional description value accepted by this exported component.

TidalSettingsPanel.disabled
boolean | undefined

Optional disabled value accepted by this exported component.

TidalSettingsPanel.emptyMessage
ReactNode

Optional empty message value accepted by this exported component.

TidalSettingsPanel.eyebrow
ReactNode

Optional eyebrow value accepted by this exported component.

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

Optional heading level value accepted by this exported component.

TidalSettingsPanel.resetButtonProps
Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> | undefined

Optional reset button props value accepted by this exported component.

TidalSettingsPanel.resetLabel
ReactNode

Optional reset label value accepted by this exported component.

TidalSettingsPanel.resetRef
Ref<HTMLButtonElement> | undefined

Optional reset ref value accepted by this exported component.

TidalSettingsPanel.summary
ReactNode

Optional summary value accepted by this exported component.

TidalSettingsPanel.summaryProps
Omit<HTMLAttributes<HTMLDivElement>, "children"> | undefined

Optional summary props value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas