ham7a311

Machined Bevel Button

Buttons

About

A metallic toggle button with a light-catching bevel that turns to face the pointer and flips when pressed, with a status LED that lights on connect.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Machined Bevel Button to your project and fits it to your theme.

Code

How Machined Bevel Button is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { MachinedBevelButton } from "@/components/ui/machined-bevel-button";

export default function Demo({ variant = "paper" }: { variant?: string }) {
  const night = variant === "night";
  return (
    <div
      className={`flex min-h-full w-full items-center justify-center p-8 ${night ? "bg-[#14161a]" : "bg-[#dfe2e6]"}`}
    >
      <div className="flex flex-col items-center gap-4 text-center">
        <p
          className={`font-mono text-[0.6875rem] uppercase tracking-[0.16em] ${night ? "text-[#8b9099]" : "text-[#5d636c]"}`}
        >
          Vitrine Field Kit · Sensor 04 · Sohar Port
        </p>
        <MachinedBevelButton
          theme={night ? "night" : "paper"}
          label="Connect device"
          doneLabel="Connected · 38 ms"
        />
      </div>
    </div>
  );
}

More by ham7a311

View all
  • Wave Mesh

    Wave Mesh

    185
  • Route Globe

    Route Globe

    154
  • Glass Tiles

    Glass Tiles

    146
  • Glyph Swell

    Glyph Swell

    60
  • Orbit Ring Stats

    Orbit Ring Stats

    57
  • Ask Bar

    Ask Bar

    46
  • Intent Label

    Intent Label

    39
  • Glass Ribbons

    Glass Ribbons

    37

More in Buttons

View all
  • Texture Button

    Texture Button

    108
  • Button

    Button

    14
  • Notification Button

    Notification Button

    117
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Eclipse Button

    Eclipse Button

    44
  • Button Save

    Button Save

    50
  • App Store Button

    App Store Button

    484
  • Base Button

    Base Button

    1