kevingirelli

Dash Button

Buttons 2

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

    54
  • Warp Gradient

    Warp Gradient

    48
  • FAQ Section

    FAQ Section

    46
  • QR Code

    QR Code

    46
  • Wave Text

    Wave Text

    37
  • Corner Frame

    Corner Frame

    36
  • Animated Border

    Animated Border

    32
  • Spotlight

    Spotlight

    23

More in Buttons

View all
  • Button

    Button

    14
  • Texture Button

    Texture Button

    92
  • Button

    Button

    34
  • Button

    Button

    64
  • Button Save

    Button Save

    46
  • Button Group

    Button Group

    3
  • Button

    Button

  • Notification Button

    Notification Button

    103