Notification preferences preview
A controlled notification preference form with grouped channel switches, local feedback and native submission semantics.
pro · Forms · composite
When to use
- Use it when a page needs a controlled notification preference form with grouped channel switches, local feedback and native submission semantics.
- Choose it for a settings workflow where saved state, validation, and side effects remain in the host application.
Alternatives
- Choose form-field instead when a labeled email field with validation and help text is the actual interface need, rather than notification preferences.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/notification-preferencesImport components/ui/tidal.css, components/ui/notification-preferences.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/notification-preferences.css";
import{TidalNotificationPreferences}from"./components/ui/notification-preferences";
export default(p:Parameters<typeof TidalNotificationPreferences>[0])=><div className="tidal-scope"><TidalNotificationPreferences {...p}/></div>;API and props
TidalNotificationPreferences.channels (required)ReadonlyArray<TidalNotificationChannel>Required channels value accepted by this exported component.
TidalNotificationPreferences.groups (required)ReadonlyArray<TidalNotificationPreferenceGroup>Required groups value accepted by this exported component.
TidalNotificationPreferences.onPreferenceChange (required)(preference: TidalNotificationPreference, channel: TidalNotificationChannel, checked: boolean, event: ChangeEvent<HTMLInputElement>) => voidCallback invoked when the preference change interaction is proposed.
TidalNotificationPreferences.title (required)ReactNodeRequired title value accepted by this exported component.
TidalNotificationPreferences.busyboolean | undefinedOptional busy value accepted by this exported component.
TidalNotificationPreferences.descriptionReactNodeOptional description value accepted by this exported component.
TidalNotificationPreferences.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalNotificationPreferences.errorReactNodeOptional error value accepted by this exported component.
TidalNotificationPreferences.eyebrowReactNodeOptional eyebrow value accepted by this exported component.
TidalNotificationPreferences.footerReactNodeOptional footer value accepted by this exported component.
TidalNotificationPreferences.headingLevel"h2" | "h3" | "h4" | undefinedOptional heading level value accepted by this exported component.
TidalNotificationPreferences.labelsPartial<TidalNotificationPreferenceLabels> | undefinedOptional labels value accepted by this exported component.
TidalNotificationPreferences.onSave((event: FormEvent<HTMLFormElement>) => void) | undefinedCallback invoked when the save interaction is proposed.
TidalNotificationPreferences.resetActionTidalNotificationResetAction | undefinedOptional reset action value accepted by this exported component.
TidalNotificationPreferences.saveButtonPropsOmit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> | undefinedOptional save button props value accepted by this exported component.
TidalNotificationPreferences.saveButtonRefRef<HTMLButtonElement> | undefinedOptional save button ref value accepted by this exported component.
TidalNotificationPreferences.statusReactNodeOptional status 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.