Component librarySettings panel
Components/Blocks

Settings panel

Pro

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

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

Installation

Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.

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

Import components/ui/tidal.css, components/ui/settings-panel.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 groups are required. Groups contain stable ids, consumer-owned headings/descriptions and toggle, native single-select, or native radio fields. Every field has a stable id, name, visible ReactNode label, optional description/disabled state, controlled value, native control attributes/ref, and a value-change callback composed after the native handler unless prevented. Toggle inputs use checkbox plus fixed switch semantics; select fields preserve native option and form behavior; radio fields use native fieldset, legend, required and same-name inputs. The native form forwards attributes/ref including action, method, target, noValidate, onSubmit and onReset. Apply/reset buttons forward native attributes/refs and default to submit/reset while preserving explicit types, form ownership, submitter overrides, names and values. Optional summary/summaryProps, heading level, eyebrow, empty message and root disabled state remain consumer-owned. Consumers own validation, dirty state, apply/reset outcomes, persistence and every side effect. Controlled consumers update visible values in onReset when reset should change state. Group, field and option ids must be unique within an instance. The component makes no request and creates no account or stored setting.

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.

Building with an agent?Give it the installation guide and component catalog.