{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "minimal",
  "type": "registry:ui",
  "title": "MinimalButton",
  "description": "A quiet dark button with a hairline ring, inner highlight, soft drop shadow, and a chevron that nudges on hover.",
  "files": [
    {
      "path": "components/evil-buttons/minimal.tsx",
      "type": "registry:ui",
      "target": "components/evil-buttons/minimal.tsx",
      "content": "import * as React from \"react\";\nimport { cn } from \"@/lib/utils\";\n\nexport interface MinimalButtonProps\n  extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n  /** Show a trailing chevron that nudges forward on hover. */\n  arrow?: boolean;\n}\n\nconst MinimalButton = React.forwardRef<HTMLButtonElement, MinimalButtonProps>(\n  ({ children, className, arrow = true, type = \"button\", ...props }, ref) => (\n    <button\n      ref={ref}\n      type={type}\n      className={cn(\n        \"group/minimal inline-flex h-9 cursor-pointer items-center justify-center gap-2 rounded-[10px] px-4 text-sm font-medium text-neutral-50 outline-none select-none\",\n        // Graded dark surface: dark outer hairline, faint inner ring, top highlight, soft drop.\n        \"bg-linear-to-b from-[#353535] to-[#272727] shadow-[0_0_0_1px_rgb(0_0_0/0.9),inset_0_0_0_1px_rgb(255_255_255/0.06),inset_0_1px_0_rgb(255_255_255/0.14),0_1px_2px_rgb(0_0_0/0.25),0_4px_12px_-4px_rgb(0_0_0/0.4)]\",\n        \"transition-[scale,filter,box-shadow] duration-300 ease-[cubic-bezier(0.34,1.35,0.64,1)] hover:brightness-110\",\n        // Press eases in fast and settles the shadow; release springs back on the slower base curve.\n        \"active:scale-[0.97] active:brightness-95 active:duration-100 active:ease-out active:shadow-[0_0_0_1px_rgb(0_0_0/0.9),inset_0_0_0_1px_rgb(255_255_255/0.05),inset_0_1px_0_rgb(255_255_255/0.08),0_0_1px_rgb(0_0_0/0.2),0_1px_3px_-2px_rgb(0_0_0/0.3)] motion-reduce:active:scale-100\",\n        \"focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50\",\n        arrow && \"pr-3\",\n        className,\n      )}\n      {...props}\n    >\n      <span>{children}</span>\n      {arrow ? (\n        <svg\n          aria-hidden\n          viewBox=\"0 0 16 16\"\n          fill=\"none\"\n          stroke=\"currentColor\"\n          strokeWidth=\"1.75\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n          className=\"size-3.5 text-neutral-50/45 transition-[translate,color] duration-150 group-hover/minimal:translate-x-0.5 group-hover/minimal:text-neutral-50/75\"\n        >\n          <path d=\"m6 4 4 4-4 4\" />\n        </svg>\n      ) : null}\n    </button>\n  ),\n);\n\nMinimalButton.displayName = \"MinimalButton\";\n\nexport { MinimalButton };\nexport default MinimalButton;\n"
    }
  ],
  "dependencies": [
    "clsx",
    "tailwind-merge"
  ]
}
