Back to blocks
BlockDashboard / ApplicationFree

Settings Toggle List React component

A preferences page of grouped switches that save instantly: search with highlighted matches, settings that reveal a follow-up option when turned on, beta badges, a reload banner for settings that need it, a saved check on each change, an undo toast, a count of changes from default and reset per section.

About the Settings Toggle List component

Settings Toggle List is a preferences page made of switches that save the moment they're flipped. Sections keep it scannable, and search finds any setting by its name or description.

It handles the details that make instant saving feel safe: a saved check on each row, an undo toast for every change, follow-up options that appear only when a setting is on, beta badges, and a banner when a change needs a reload. A counter shows how far you've strayed from the defaults, and each section can be reset.

When to use it

Use it for app preferences, editor settings, privacy options and feature flags that people can turn on themselves.

For settings that must be reviewed before applying, use a form with a save bar instead.

Installation

Add the Settings Toggle List component to your project with the shadcn CLI. It lands in components/settings-toggle-list.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/settings-toggle-list

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More Dashboard / Application components

Connected Apps Toggle List
Free
Usage Limit Slider Card
Free
Privacy & Security Settings Panel
Free
Feedback Rating Card
Free
Change Password Settings Card
Free
Member Profile Card
Free