Delete Button

Delete Button: A delete button that asks for confirmation in place, no dialog needed. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Delete Button

npx motion-ui-skill add delete-button

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • motion
  • react
  • tailwind-merge

Source files

Delete Button

A delete button that asks for confirmation in place, no dialog needed.

Install

npx motion-ui-skill add delete-button

Dependencies

  • clsx
  • motion
  • react
  • tailwind-merge

Usage

"use client";

import { DeleteButton as DeleteButton } from "@/components/craft/delete-button";

export function Example() {
  return (
    <div className="p-6">
      <DeleteButton />
    </div>
  );
}

Browse this category