# Theme Switcher Composition 1 - Settings row

> ThemeSwitcher composed in a labeled settings row.

A shadcn/ui block from the [@shadcnblocks](https://shadcnblocks.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcnblocks/theme-switcher-theme-switcher-composition-1).

- Page, with a live preview: https://shadcn.exchange/r/shadcnblocks/theme-switcher-theme-switcher-composition-1
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnblocks/theme-switcher-theme-switcher-composition-1-light-b646640b99713b1a.png
- Registry item: https://shadcnblocks.com/r/theme-switcher-theme-switcher-composition-1.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnblocks.com/r/theme-switcher-theme-switcher-composition-1.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `https://www.kibo-ui.com/r/theme-switcher.json`

## Files

### `example/theme-switcher/theme-switcher-composition-1.tsx`

```tsx
"use client";

import { ThemeSwitcher } from "@/components/kibo-ui/theme-switcher";

export const title = "Settings row";

const Example = () => (
  <div className="flex w-full max-w-md items-center justify-between rounded-lg border px-4 py-3">
    <div>
      <p className="text-sm font-medium">Appearance</p>
      <p className="text-sm text-muted-foreground">
        Switch between light, dark, and system themes.
      </p>
    </div>
    <ThemeSwitcher />
  </div>
);

export default Example;
```
