About
Liquid chrome, gold, or copper ribbons twisting through a studio light rig: transparent WebGL, theme-aware, with a key light that follows the pointer.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Shader Metal to your project and fits it to your theme.
Code
How Shader Metal is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client"
import { ShaderMetal } from "@/components/ui/shader-metal"
const settings = {
color: "#F2F3F5",
ribbons: 3,
speed: 0.3,
iridescence: 0.2,
interactive: true,
}
export default function ShaderMetalDemo(props: Partial<typeof settings>) {
const s = { ...settings, ...props }
return (
<div className="flex min-h-[520px] w-full items-center justify-center bg-background p-4">
<div className="relative aspect-[16/9] min-h-[360px] w-full max-w-5xl overflow-hidden rounded-xl border border-border bg-background">
<ShaderMetal
metal="chrome"
color={s.color}
ribbons={s.ribbons}
speed={s.speed}
iridescence={s.iridescence}
interactive={s.interactive}
/>
</div>
</div>
)
}
















