Skip to main content
Version: 1.0.3

Security Page

Overview

The Security Page centralizes key account protections: change password with strength feedback, view and revoke active sessions, toggle two-factor authentication (2FA) with recovery codes, and review recent login activity. It supports both a grid layout and a collapsible list (accordion) layout for compact displays, plus light/dark/auto theme variants.

Preview

SecurityHigh security

Manage password, sessions, 2FA, recovery codes, and login activity.

Last security review · 3 days ago

Change password

Use a strong, unique password and update it regularly to keep your account secure.

Use at least 8 characters with a mix of letters, numbers, and symbols. Avoid using passwords you've used elsewhere.

Active sessions

Review devices that are currently signed in to your account.

Device
Location
IP Address
Last Active
Status
MacBook Pro · Chrome
San Francisco, USA
192.168.0.24
Just now
Current
iPhone 15 · Safari
San Francisco, USA
192.168.0.18
2 hours ago
Active
Windows · Edge
Remote
80.24.11.90
Yesterday · 21:14
Active

Two-factor authentication

Add an extra layer of protection with a verification code from your authenticator app.

Two-factor authentication is enabled. Use your authenticator app to approve new logins. Save your recovery codes in a safe place.

Recovery codes

Each recovery code can be used once. Store them securely in a password manager or print them and keep them in a safe place.

Manage full 2FA setup

Login activity

Recent sign-ins and security events for your account.

Date & Time
Device
Location
IP Address
Status
Today · 09:14
MacBook Pro · Chrome
San Francisco, USA
192.168.0.24
Success
Today · 07:02
iPhone 15 · Safari
San Francisco, USA
192.168.0.18
Success
Yesterday · 22:41
Windows · Edge
Remote
80.24.11.90
Failed
2 days ago · 18:22
iPad · Safari
Remote
77.202.144.10
Success

If you notice unfamiliar activity, change your password immediately and review active sessions.

Installation

ignix add template security-page

Features

  • Change password with strength meter and match validation
  • Active sessions list with device type icons and “Logout all sessions”
  • Two-factor authentication toggle plus recovery codes (copy/copy-all)
  • Login activity table with status badges and device/location/IP details
  • Layouts: grid (two-column cards) or list (accordion/fold/unfold)
  • Themes: light, dark, auto; responsive with horizontal scroll for tables on small screens

Props

PropTypeDefaultDescription
titlestring"Security"Page heading text
descriptionstringDescription under the headingSubheading / helper copy
variant"light" | "dark" | "auto""dark"Background/theme variant
layout"grid" | "list""grid"Grid cards or accordion list layout

Usage Examples

Grid layout (dark)

<SecurityPage
variant="dark"
layout="grid"
title="Security"
description="Manage password, sessions, 2FA, recovery codes, and login activity."
/>;

List layout (accordion)

<SecurityPage
variant="light"
layout="list"
title="Security"
description="Compact accordion layout for mobile and dense pages."
/>;

Auto theme

<SecurityPage
variant="auto"
layout="grid"
title="Security"
description="Adapts to your app or system theme."
/>;

Notes

  • Tables are wrapped with horizontal scroll for small screens.
  • Device icons in Active Sessions reflect device types (laptop, mobile, tablet).
  • Recovery codes include copy and copy-all actions; 2FA toggle reflects enabled/disabled states.