components/example.tsx
1
import { ThemeToggle } from "passport-ui";components/example.tsx
1
<ThemeToggle />A dropdown for selecting a light, dark, or system theme.
Import the component from the passport-ui package.
import { ThemeToggle } from "passport-ui";Basic example showing how to use the component.
<ThemeToggle />Documentation and examples are available in Storybook.