Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { ChromeText } from "@/components/effects/chrome-text/chrome-text";
export default function Background() {
return (
<ChromeText
className="h-svh w-full"
palette="chrome"
speed={1}
bevel={0.5}
liquid={0.5}
children="Forged for speed"
/>
);
}Controls
Headings in liquid chrome, gold or oil slick. The real text stays in the DOM (selectable, accessible, styled by your classes); a shader draws bevelled, flowing metal exactly over the glyphs. Shared WebGL2 context; CSS gradient-clip fallback.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| palette | "chrome" | "gold" | "mercury" | "rose" | "obsidian" | "oil" | "chrome" | Metal |
| speed | number (0 to 3) | 1 | Speed |
| bevel | number (0 to 1) | 0.5 | Bevel |
| liquid | number (0 to 1) | 0.5 | Liquid |
| children | string |

























