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-[#f3f1ec] text-[#1b1a17]">
      <div className="flex flex-col items-center gap-5 text-center">
        <p className="font-mono text-[0.6875rem] uppercase tracking-[0.14em] text-[#6f6a62]">
          Come in from any side
        </p>
        <div className="flex flex-wrap items-center justify-center gap-4">
          <EntryRingButton theme="paper">Request a demo</EntryRingButton>
          <EntryRingButton theme="paper">Book a call</EntryRingButton>
        </div>
      </div>
    </div>
  );
}

More by ham7a311

View all
  • Route Globe

    Route Globe

    10
  • Wave Mesh

    Wave Mesh

    7
  • Glass Carousel

    Glass Carousel

    6
  • Glass Tiles

    Glass Tiles

    5
  • Uptime Ribbon

    Uptime Ribbon

    4
  • Time Window

    Time Window

    4
  • Ruler Picker

    Ruler Picker

    4
  • Liquid Chrome

    Liquid Chrome

    4

More in Buttons

View all
  • Button

    Button

    4
  • App Store Button

    App Store Button

    453
  • Button

    Button

    47
  • Button

    Button

    4
  • Split Button

    Split Button

    14
  • Texture Button

    Texture Button

    92
  • Eclipse Button

    Eclipse Button

    39
  • Button

    Button

    32