Not affiliated with official shadcn/ui. Visit ui.shadcn.com for official docs.
React Account Block 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.
Security Settings
Manage your password, 2FA, and active sessions
Change Password
Two-Factor Authentication
Authenticator App
EnabledUse an authenticator app like Google Authenticator or Authy
Active Sessions
MacBook Pro
This deviceChrome • New York, USA
Active now
iPhone 14
Safari • New York, USA
2 hours ago
Windows PC
Firefox • London, UK
1 day ago
Security recommendations
Enable two-factor authentication for enhanced security. Review your active sessions regularly and revoke access from devices you don't recognize.
Installation
Related blocks you will also like
React Account Block Backup Codes
2FA recovery codes
React Account Block Privacy Settings
Privacy and data control
React Account Block API Keys
API key management
React Account Block Activity Log
View account activity history
React Account Block Email Preferences
Email address management
React Account Block Connected Accounts
Link social media accounts
Questions you might have
React Account Block Saved Items & Wishlist
Saved items and wishlist dashboard with favorites, product collections, price alerts, stock notifications, and quick add to cart for e-commerce
React Account Block Active Sessions
Active session management with device tracking, location information, last active timestamps, current session highlighting, and remote logout functionality