ham7a311

Entry Ring Button

Buttons 11

About

A pill button whose gradient outline draws itself from the exact point where the cursor crosses its edge, growing both ways round to meet on the far side, then shrinks back toward the exit point when you leave.

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

Code

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

Usage.tsx

"use client";

import { EntryRingButton } from "@/components/ui/entry-ring-button";

export default function Demo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center p-8 bg-[#0b0a0d] text-[#efe8dc]">
      <div className="flex flex-col items-center gap-5 text-center">
        <p className="font-mono text-[0.6875rem] uppercase tracking-[0.14em] text-[#9c96a1]">
          Come in from any side
        </p>
        <div className="flex flex-wrap items-center justify-center gap-4">
          <EntryRingButton theme="night">Request a demo</EntryRingButton>
          <EntryRingButton theme="night">Book a call</EntryRingButton>
        </div>
      </div>
    </div>
  );
}

More by ham7a311

View all
  • Wave Mesh

    Wave Mesh

    171
  • Route Globe

    Route Globe

    146
  • Glass Tiles

    Glass Tiles

    137
  • Glyph Swell

    Glyph Swell

    57
  • Orbit Ring Stats

    Orbit Ring Stats

    53
  • Ask Bar

    Ask Bar

    44
  • Intent Label

    Intent Label

    38
  • Glass Ribbons

    Glass Ribbons

    35

More in Buttons

View all
  • Button

    Button

    12
  • Texture Button

    Texture Button

    105
  • Notification Button

    Notification Button

    115
  • HeroUI Button Group

    HeroUI Button Group

    2
  • App Store Button

    App Store Button

    481
  • Split Button

    Split Button

    16
  • Button

    Button

    78
  • Button Group

    Button Group

    14