ham7a311

Entry Ring Button

Buttons

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

    6
  • Time Window

    Time Window

    4
  • Ruler Picker

    Ruler Picker

    4
  • Wave Mesh

    Wave Mesh

    4
  • Second Draft Text

    Second Draft Text

    3
  • Uptime Ribbon

    Uptime Ribbon

    3
  • Glass Carousel

    Glass Carousel

    3
  • Liquid Chrome

    Liquid Chrome

    3

More in Buttons

View all
  • Texture Button

    Texture Button

    92
  • Button

    Button

    1
  • Button Retro

    Button Retro

    61
  • App Store Button

    App Store Button

    452
  • Button

    Button

    47
  • Button Group

    Button Group

    7
  • Eclipse Button

    Eclipse Button

    39
  • Astryx Button Group

    Astryx Button Group

    22