nikolas-sapa

Border Chrome Ring

Shaders 21

About

A wrapper that surrounds any element with an animated liquid-metal ring rendered in WebGL, reacting to hover, press, and release for buttons or avatars.

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

Code

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

Usage.tsx

"use client";

import BorderChromeRing from "@/components/ui/border-chrome-ring";

export default function BorderChromeRingDemo() {
  return (
    <div className="flex min-h-[400px] w-full items-center justify-center bg-background p-10">
      <BorderChromeRing radius={16} ringWidth={14}>
        <button className="rounded-2xl bg-background px-6 py-3 text-sm font-medium text-foreground">
          Hover me
        </button>
      </BorderChromeRing>
    </div>
  );
}

More by nikolas-sapa

View all
  • Dye Whorl

    Dye Whorl

    142
  • Countdown Vapor Digits

    Countdown Vapor Digits

    139
  • Hero Burin Hatch

    Hero Burin Hatch

    63
  • Background ASCII Wake

    Background ASCII Wake

    61
  • Hero Text Ring Funnel

    Hero Text Ring Funnel

    50
  • Hero ASCII Schlieren

    Hero ASCII Schlieren

    49
  • Toast Gravity Stack

    Toast Gravity Stack

    48
  • Hero ASCII Reaction Front

    Hero ASCII Reaction Front

    45

More in Shaders

View all
  • Glass Fold

    Glass Fold

    279
  • Phosphor 30

    Phosphor 30

    293
  • Shader Animation

    Shader Animation

    3.7K
  • Wave

    Wave

    693
  • Black Hole

    Black Hole

    27
  • Shader Background

    Shader Background

    2K
  • Shader Lines

    Shader Lines

    2.3K
  • Liquid Glass Logo Reveal

    Liquid Glass Logo Reveal

    629