Recessed Inset

Recessed Inset: Recessed inset button — looks pressed into the surface. Light or dark variant. Pass any children. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Recessed Inset

npx motion-ui-skill add inset-button

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

Dependencies

  • clsx
  • react
  • tailwind-merge

Source files

Recessed Inset

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

Install

npx motion-ui-skill add inset-button

Dependencies

  • clsx
  • react
  • tailwind-merge

Usage

"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

Browse this category