Block Parts
Settings Row
A setting's title and description with a switch, or any other control, on the right.
Usage
Email notifications
Mentions, replies and invites
Push notifications
On this device only
Weekly digest
A summary every Monday morning
Two-factor authentication
Add a second step when you sign in
Installation
npm install @wunderui/reactThen import what you need:
import { SettingsRow, SettingsRowProps } from "@wunderui/react"API Reference
| Prop | Type | Default |
|---|---|---|
| title | ReactNode | — |
| description | ReactNode | — |
| control | ReactNode | — |
| checked | boolean | — |
| onCheckedChange | (checked: boolean) => void | — |
| className | string | — |