What problem does it solve?
Adding premium animated metallic borders to React buttons, tabs, chips, and cards normally requires custom WebGL shader work and careful state, accessibility, and performance handling. This Skill provides a complete implementation playbook for the metal-fx package so the effect is installed, tuned, and verified correctly.
Core Features & Use Cases
- Guided metal-fx Integration: Install, import, and wrap a single semantic host element with the MetalFx component using presets like chromatic, silver, and gold.
- State-Driven Borders: Drive border strength, glow, and pause behavior from real active, selected, hover, and focus states while preserving aria-pressed semantics and focus outlines.
- Tuning and Troubleshooting: Configure ring thickness, shader scale, radius, reflections, themes, reduced motion, and SSR behavior, with a failure-diagnosis section for common rendering issues.
- Use Case: A developer wants the selected tab in a React settings page to show an animated liquid-metal ring that pauses when idle, respects reduced motion, and keeps a visible focus outline for keyboard users.
Quick Start
Ask your agent to use the liquid-metal-border skill to add a restrained chromatic metal-fx active border to a selected React button with reduced-motion support.