React settings page components
Free React settings components: profile forms, team members, roles and permissions, API keys, integrations, SSO, audit logs and danger zones for SaaS apps.
Settings components cover the account (ProfileForm, AvatarUpload, ThemePicker, LanguagePicker, NotificationPreferences), the team (InviteMembers, TeamMemberRow, RolePicker, RolePermissionMatrix, BulkUserImport) and security (SessionList, IpAllowlist, ConnectedAccount). SettingsLayout gives the page a nav rail beside titled sections, and SettingsPage shows a complete example.
Risky actions get their own pattern. DangerZone sits last on the page in a red outline and asks for confirmation before onConfirm runs, and DeleteAccountConfirm keeps its button disabled until the user types the confirmation phrase.
Which one should I use?
| You need | Use | Why |
|---|---|---|
| A settings page frame | Settings Layout | 200px nav rail, one column on mobile |
| A complete account settings page | Settings Page | Profile, theme, notifications, danger zone |
| Name and bio | Profile Form | Native fields, plain strings |
| A profile photo | Avatar Upload | Previews locally, hands you the File |
| Light, dark or system theme | Theme Picker | Can toggle the dark class itself |
| Notification channels | Notification Preferences | One switch per channel |
| Invite teammates by email | Invite Members | Lists pending invites |
| Assign one role to a person | Role Picker | Owner, Admin, Member |
| Edit what each role can do | Role Permission Matrix | Checkbox per role and capability |
| Signed-in devices | Session List | Revoke all but the current one |
| Restrict access by IP | Ip Allowlist | IPv4, IPv6 and CIDR |
| Linked third-party accounts | Connected Account | With a Disconnect button |
| Workspace feature flags | Feature Flags | Live "n of m on" count |
| Delete a workspace or project | Danger Zone | Confirms before onConfirm runs |
| Request a data export | Export Data | GDPR exports and backups |
24 items
npx shadcn@latest add @minidev/admin-user-row @minidev/avatar-upload @minidev/bulk-user-import @minidev/connected-account @minidev/danger-zone @minidev/delete-account-confirm @minidev/export-data @minidev/feature-flag-toggle @minidev/integration-card @minidev/invite-members @minidev/ip-allowlist @minidev/language-picker @minidev/notification-preferences @minidev/permission-chip @minidev/profile-form @minidev/region-picker @minidev/role-permission-matrix @minidev/role-picker @minidev/session-list @minidev/settings-layout @minidev/team-member-row @minidev/theme-picker @minidev/feature-flags @minidev/settings-pageComponents 22
User management row with avatar, online status dot, name, email, a role chip for admin, write or read access, and an accessible actions menu button.
npx shadcn@latest add @minidev/admin-user-rowReact profile photo uploader with an avatar preview and an Upload button that opens a hidden image file input. Shows initials until a picture is chosen.
npx shadcn@latest add @minidev/avatar-uploadCSV user import panel with a format hint for email, name and role, a CSV-only dropzone and an Import users button that enables once a file is added.
npx shadcn@latest add @minidev/bulk-user-importTailwind settings row for a linked third party account showing the provider and account name, with a Disconnect button. For OAuth and integrations.
npx shadcn@latest add @minidev/connected-accountDanger zone settings card with a red outline, a warning that the action cannot be undone and a destructive delete button. Put it last on settings pages.
npx shadcn@latest add @minidev/danger-zoneAccount deletion step with a danger alert and a confirmation field: the delete button stays disabled until the user types DELETE. Guards against misclicks.
npx shadcn@latest add @minidev/delete-account-confirmSettings card to request a data export, explaining what the JSON export includes and when it will be ready, with a Request export button.
npx shadcn@latest add @minidev/export-dataA settings row for flipping a feature flag on or off: flag name, optional description and a labeled switch, wired as a controlled React component.
npx shadcn@latest add @minidev/feature-flag-toggleAn app integration tile with the service name, a short description, a Connected or Available badge and a Connect or Manage button. Built in React.
npx shadcn@latest add @minidev/integration-cardA team invite panel with an email input, a Send button and badges for pending invitations. A starting point for workspace member management in SaaS settings.
npx shadcn@latest add @minidev/invite-membersAn editor for IP and CIDR allowlists: a monospace list with a remove button per entry plus an input and Add button that skips duplicates. Built in React.
npx shadcn@latest add @minidev/ip-allowlistA grid of language options exposed as an accessible listbox, with the selected language outlined in the accent color. Plug it into locale or profile settings.
npx shadcn@latest add @minidev/language-pickerA notification settings list of labeled switches for email digests, product updates and security alerts. A simple React start for preference pages.
npx shadcn@latest add @minidev/notification-preferencesA small uppercase chip for access levels: admin, write or read. Use it in member lists, API key tables and sharing dialogs to show what a user or token can do.
npx shadcn@latest add @minidev/permission-chipAn account profile form with a display name input, a bio textarea and a Save profile button, composed from FormField, Input and Textarea in React.
npx shadcn@latest add @minidev/profile-formDeployment region picker with selectable cards for each region and its latency in milliseconds. Uses radio semantics and an accent tint for the chosen one.
npx shadcn@latest add @minidev/region-pickerRole and permission matrix with roles as columns and permissions as rows, each cell a labelled checkbox. Scrolls sideways on small screens, styled in Tailwind.
npx shadcn@latest add @minidev/role-permission-matrixTeam role picker built on the radio group, offering Owner, Admin and Member options with linked labels. Drop it into invite dialogs and member settings forms.
npx shadcn@latest add @minidev/role-pickerActive sessions list showing each device and location, marking the current device and giving other sessions a Revoke button. A React account security block.
npx shadcn@latest add @minidev/session-listSettings page layout with a 200px side nav column and a content area, plus a SettingsSection for titled groups divided by hairlines. Tailwind grid based.
npx shadcn@latest add @minidev/settings-layoutTeam member row with an initials avatar, name, email and a role badge, truncating cleanly in narrow lists. Built for team pages and member management in React.
npx shadcn@latest add @minidev/team-member-rowLight, dark and system theme picker as a segmented radiogroup that toggles the dark class on the root element for Tailwind dark mode and reports it to onChange.
npx shadcn@latest add @minidev/theme-picker
Blocks and full pages 2
Feature Flags
blockA feature flag settings list that pairs each flag key in monospace with a labelled switch. Drop it into admin or developer settings to toggle rollouts.
npx shadcn@latest add @minidev/feature-flagsSettings Page
blockA React settings page combining a profile form, theme picker, notification preferences and a danger zone for destructive actions under one header.
npx shadcn@latest add @minidev/settings-page
Using an AI coding agent? Read the agent guide, point it at /llms.txt for the full index, or paste /AGENTS.md into your project. Every component has plain Markdown docs at /docs/<name>.md.
Frequently asked questions
Is there a full settings page layout?
Yes. SettingsLayout gives you a nav rail beside stacked, divided sections, and SettingsPage is a complete example with a profile form, theme picker, notification channels and a danger zone.
How should I handle deleting an account?
Put a DangerZone last on the page, and use DeleteAccountConfirm inside it. The delete button stays disabled until the user types the confirmation phrase.
How do I build a roles and permissions screen?
RolePermissionMatrix is a table with capabilities as rows and roles as columns, one checkbox per cell, each named "<role> <permission>" for screen readers. Use RolePicker to give one person one role.
How do I add a dark mode setting?
ThemePicker is a Light / Dark / System radio group. Pass applyToDocument and it toggles the dark class on <html>; to remember the choice, store it in a cookie or localStorage from onChange.