Interactive chrome liquid metal button with real-time WebGL torus shader and dispersion.
1. Install Required Packages
npm install lucide-react2. CLI Component Add
npx apexphase add liquid-metal-button| Prop | Type | Default | Description |
|---|---|---|---|
theme | 'frost' | 'obsidian' | 'pearl' | 'custom' | 'obsidian' | Base color theme and specular shader profile. |
label | string | 'Explore Apex' | Button typography label text. |
glyph | 'sparkle' | 'home' | 'arrow' | 'arrow-up-right' | 'plus' | 'play' | 'search' | 'chevron' | 'sparkle' | Built-in SVG icon glyph rendered within the liquid medallion. |
thickness | number | 0.22 | WebGL liquid torus tube thickness. |
flow | number | 1.0 | Fluid wave turbulence and ripple velocity factor. |
dispersion | number | 1.0 | Multi-sample chromatic dispersion strength. |
glow | number | 0.5 | Ambient specular halo luminosity intensity. |
warmth | number | 0.0 | Color temperature shift (-1.0 cool chrome to +1.0 warm champagne). |
edgeEnabled | boolean | true | Conic-gradient rotating chrome perimeter border. |
Don't miss them.


