Preferences
- Push notificationsPayments, security and reminders
- Dark mode
- Language
Grouped settings rows in flat Cards, like iOS Settings: toggles (Switch), choices (Select), links to deeper screens with the current value, and actions such as 'Log out' or a destructive 'Delete account'.
Same block, same props. Only the tokens change.
default · disabled
Every piece links to its own spec.
| Prop | Type | Description |
|---|---|---|
| groups | { id: string; title?: string; rows: SettingsRow[] }[] | SettingsRow = { id, label, description?, icon?, disabled? } plus type 'toggle' (checked), 'select' (value, options), 'link' (value?) or 'action' (destructive?). |
| onChange | (row: SettingsRow, value?: boolean | string) => void | Toggles pass the new boolean, selects the new value; links and actions pass nothing. |
npx shadcn add https://unbuiltui.com/r/settings-list.json