kevingirelli

Dash Button

Buttons 9

About

A pill-shaped button that trades its solid fill for a marching dashed outline on hover and keyboard focus.

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

Code

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

Usage.tsx

import { DashButton } from "@/components/ui/dash-button";

export default function DashButtonDemo() {
  return (
    <div className="flex min-h-[200px] w-full items-center justify-center">
      <DashButton>Plot a course</DashButton>
    </div>
  );
}

Dependencies

More by kevingirelli

View all
  • Aurora

    Aurora

    162
  • QR Code

    QR Code

    140
  • FAQ Section

    FAQ Section

    98
  • Animated Border

    Animated Border

    86
  • Warp Gradient

    Warp Gradient

    71
  • Corner Frame

    Corner Frame

    71
  • Wave Text

    Wave Text

    63
  • Spotlight

    Spotlight

    51

More in Buttons

View all
  • Button

    Button

    166
  • Texture Button

    Texture Button

    121
  • Button

    Button

    21
  • Figma File Button

    Figma File Button

    39
  • Native Button

    Native Button

    12
  • Button

    Button

    88
  • HeroUI Button Group

    HeroUI Button Group

    11
  • Great UI Button

    Great UI Button

    19