Meng To

Dot Border Button

Buttons 511

About

An animated call-to-action button whose four corner dots and dashed border segments draw themselves in sequence on hover.

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

Code

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

Usage.tsx

import DotBorderButton from "@/components/ui/dot-border-button";

export default function DotBorderButtonDemo() {
  return (
    <div className="flex h-[420px] w-full items-center justify-center overflow-hidden rounded-xl border border-border bg-[#111318]">
      <DotBorderButton mode="dark" className="h-full w-full" />
    </div>
  );
}

More by Meng To

View all
  • Gateway Flow

    Gateway Flow

    1.8K
  • Glassmorphism CTA

    Glassmorphism CTA

    821
  • Globe Type Study

    Globe Type Study

    768
  • Particle Drift

    Particle Drift

    706
  • Generative Tree

    Generative Tree

    615
  • Topo Field

    Topo Field

    577
  • Spark Badge

    Spark Badge

    477
  • Woven Cloth

    Woven Cloth

    343

More in Buttons

View all
  • Texture Button

    Texture Button

    97
  • Button

    Button

    1
  • Button

    Button

    68
  • Eclipse Button

    Eclipse Button

    3
  • Button

    Button

    65
  • App Store Button

    App Store Button

    458
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Base Button

    Base Button

    4

Explore more

Part of ThreeUI — browse the full library on 21st.dev.