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

# Recessed Inset

> Recessed inset button — looks pressed into the surface. Light or dark variant. Pass any children.

## Install

```bash
npx motion-ui-skill add inset-button
```

## Dependencies

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

## Usage

```tsx
"use client";

import { InsetButton } from "@/components/buttons/inset-button";

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

## API Reference

### InsetButton

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

## Source Files

- [components/buttons/inset-button.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/buttons/inset-button.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)
