Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { MetalRing } from "@/components/effects/metal-ring/metal-ring";
export default function Background() {
return (
<MetalRing
className="h-svh w-full"
palette="chrome"
thickness={2}
radius={999}
glow={10}
speed={1}
interactive={true}
/>
);
}Controls
A polished metal border for buttons, chips, cards and icon tiles, shaded like a rounded tube with a highlight that orbits and follows the cursor. Every ring on a page shares one WebGL2 context, so dozens are fine. CSS conic-gradient fallback.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| palette | "chrome" | "gold" | "mercury" | "rose" | "obsidian" | "oil" | "chrome" | Metal |
| thickness | number (1 to 8) | 2 | Thickness |
| radius | number (0 to 999) | 999 | Radius |
| glow | number (0 to 32) | 10 | Glow |
| speed | number (0 to 3) |

























