Theme Toggle

A dropdown for selecting a light, dark, or system theme.

Installation

Import the component from the passport-ui package.

components/example.tsx
1import { ThemeToggle } from "passport-ui";

Usage

Basic example showing how to use the component.

components/example.tsx
1<ThemeToggle />

Additional resources

Documentation and examples are available in Storybook.