Inset Settings List
An iOS-style grouped inset list with tinted icon tiles, hairlines inset to the label edge, switches whose knob stretches on press, and choice rows that push a detail page with a parallax slide and return focus on Back.
Try it: Flip a switch; open Appearance and pick a value, then go Back.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/inset-settings-list.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/inset-settings-list. You can also copy the source into components/ui/inset-settings-list.tsx (view on GitHub).
Usage
import { InsetSettingsList } from '@/components/ui/inset-settings-list'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
sections | SettingsSection[] | DEFAULT_SETTINGS | { id, header?, footer?, rows } with toggle, choice and info rows. |
onChange | (id, value: boolean | string) => void | — | Fires on any toggle or choice. |
title | string | 'Settings' | Root page title. |
className | string | — | Extra classes merged onto the frame. |
Dependencies
motionlucide-react
Related Product UI components
- Rolling Number Stepper
A quantity field whose changed digits roll in the direction of travel, accelerates on press-and-hold like a hardware stepper, and nudges sideways with a reason at its bounds. A real spinbutton you…
- Keyboard Shortcut Hint
A cheat sheet of tactile keycaps that knows your platform (⌘ ⌥ ⇧ vs Ctrl Alt Shift); hold real keys and matching caps sink and light up, complete a combo and its row confirms. Exports Kbd for inline…
- File Drop Uploader
A calm dropzone that lifts and tints on drag-over, then gives each file its own row with a spring progress hairline, a tick that pops on completion, and errors that say what went wrong with one-tap…
- Feedback State Panel
One surface for the screens nobody designs — empty, error, offline, permission and success — each with its own glyph and motion character, copy that names the next step, and a primary action with a…
- Glass Segmented Control
An iOS-style segmented control whose selected thumb is a lifted glass pill that springs between segments with a press squish — native radio semantics, arrow keys and an opaque reduced-transparency…
- Date Range Picker
A calendar that previews the range as you hover with a continuous tinted band between endpoint pills, month pages that slide in the direction you move, preset chips, full grid keyboard support and a…