Theme Button

A button for toggling between light and dark themes.

Installation

Import the component from the passport-ui package.

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

Usage

Basic example showing how to use the component.

components/example.tsx
1<ThemeButton />

Additional resources

Documentation and examples are available in Storybook.