Detailed Button

A tactile button with four color variants, inset gloss, and a gradient border. Motion adds a light spring lift on hover and press, and the whole thing respects reduced-motion preferences.

Preview Canvas

Installation

Install component dependencies or run the automated CLI command.

pnpm dlx shadcn@latest add https://sahilcodex.vercel.app/r/detailed-button.json

Usage

import DetailedButton from "@/components/ui/detailed-button";
export default function Page() {
return (
<div className="flex flex-wrap gap-3">
<DetailedButton variant="blue">Continue</DetailedButton>
<DetailedButton variant="graphite">Cancel</DetailedButton>
<DetailedButton variant="violet">Upgrade</DetailedButton>
<DetailedButton variant="green">Done</DetailedButton>
</div>
);
}
"You have a right to perform your prescribed duty, but you are not entitled to the fruits of actions."
Bhagavad Gita

Design by SahilCodex
© 2026. Built with hands.