---
title: "Slate Chip Switch | Free React & Tailwind Craft Component | Motion UI"
canonical: "https://blacknest.dev/motion/c/craft/slate-chip-switch"
github_source: "https://github.com/Rkj0123/motion-ui-skill/blob/main/components/buttons/slate-chip-switch.tsx"
install_command: "npx motion-ui-skill add slate-chip-switch"
dependencies: ["clsx","react","tailwind-merge"]
category: "craft"
subcategory: "buttons"
---

# Slate Chip Switch

> Smooth pill chip switch with a white thumb and sky on-state fill — a cleaner alternative to textured toggles.

## Install

```bash
npx motion-ui-skill add slate-chip-switch
```

## Dependencies

- `clsx`
- `react`
- `tailwind-merge`

## Usage

```tsx
"use client";

import { SlateChipSwitch } from "@/components/buttons/slate-chip-switch";

export function SlateChipSwitchDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <SlateChipSwitch />
    </div>
  );
}
```

## API Reference

### SlateChipSwitch

| Prop | Type | Default | Required | Description |
| :--- | :--- | :--- | :--- | :--- |
| `className` | `string` | — | No | Additional CSS classes |

## Source Files

- [components/buttons/slate-chip-switch.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/buttons/slate-chip-switch.tsx)
- [lib/cn.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/cn.ts)
- [lib/utils.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/utils.ts)
