# Theme Toggle

TypeScript source: `components/ThemeToggle.tsx`

## Functions

### ThemeToggle

Source: `components/ThemeToggle.tsx:32`

```ts
() => Element
```

Toolbar control for picking the theme. Shows the theme that is actually rendered, so `system` still reads as sun or moon rather
than as a third, ambiguous state.

#### Example

```tsx
<ThemeToggle />
```

## Constants

### THEME_OPTIONS

Source: `components/ThemeToggle.tsx:17`

```ts
{ icon: IconType; label: string; value: ThemePreference }[]
```

Theme options displayed by ThemeToggle.
