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

# Doubt Button

> Escalating-confirmation button that prompts the user through comical guilt-tripping steps before firing.

## Install

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

## Dependencies

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

## Usage

```tsx
"use client";

import { DoubtButton } from "@/components/buttons/doubt-button";

export function DoubtButtonDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <DoubtButton>Click Me</DoubtButton>
    </div>
  );
}
```

## API Reference

### DoubtButton

| Prop | Type | Default | Required | Description |
| :--- | :--- | :--- | :--- | :--- |
| `onConfirmed` | `() => void` | — | No | Callback invoked once final doubt prompt is accepted |
| `className` | `string` | — | No | Additional CSS classes |

## Source Files

- [components/buttons/doubt-button.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/buttons/doubt-button.tsx)
- [lib/utils.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/utils.ts)
