ham7a311

Entry Ring Button

Buttons 4

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
  • Route Globe

    Route Globe

    76
  • Wave Mesh

    Wave Mesh

    74
  • Glass Tiles

    Glass Tiles

    63
  • Glyph Swell

    Glyph Swell

    27
  • Orbit Ring Stats

    Orbit Ring Stats

    25
  • Ask Bar

    Ask Bar

    19
  • Streak Field Stats

    Streak Field Stats

    17
  • Wind Map

    Wind Map

    17

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