Join our Discord Community
Account

👋 This is a community-driven shadcn/ui resource. For the official documentation, visit ui.shadcn.com

Account Security Settings

Account security settings with password change, two-factor authentication toggle, and active sessions management

Looking to implement shadcn/ui blocks?

Join our Discord community for help from other developers.


Security shouldn't be buried in settings menus. This React security panel puts password management, 2FA toggle, and session monitoring front and center. Built with shadcn/ui Card, Input, Switch, and Button components with Lucide React icons, users can update passwords with show/hide toggles, enable two-factor authentication with one switch, and view active login sessions with device details. Clean section dividers and destructive action warnings—perfect for user dashboards, account settings pages, or any app where security controls need to be accessible without overwhelming users.

Loading preview...

Installation

npx shadcn@latest add https://www.shadcn.io/registry/account-security-01.json
npx shadcn@latest add https://www.shadcn.io/registry/account-security-01.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/account-security-01.json
bunx shadcn@latest add https://www.shadcn.io/registry/account-security-01.json

Questions you might have