
Description
This agent skill explains how to add and tune animated liquid-metal WebGL borders with the React metal-fx package. The border wraps one real host element, such as a button, a link, a div or an article, and that host stays semantic and interactive. The effect is visual framing only, so the control itself still works without it. The skill advises reserving the animated border for active, selected, focused, hovered or primary surfaces, rather than putting it around every control. It requires a static CSS border or focus outline as a fallback, because essential state must never depend on WebGL decoration alone. Non-active instances and reduced-motion settings should pause. Reflections render only in dark mode, so light and dark modes should be tested separately. The package is for React 18 or newer. The skill includes an inspection step before editing existing code. It is delivered as instructions for a coding agent that makes the change in your project.…
Highlights
- Animated WebGL border around one host element
- Keeps the element semantic and interactive
- Static fallback for focus and selected states
- Pauses when inactive or reduced motion is set
Ratings & Reviews
No ratings yet
Be the first to rate liquid-metal-border.
People also visit
liquid-metal-border FAQ
What does the skill add to my app?
An animated liquid-metal border around one element, such as a button, card or selected tab, built with the React metal-fx package.
What React version is needed?
React 18 or newer.
Does the border replace focus styles?
No. The skill requires a static CSS border or focus outline as a fallback, so state is never carried by the WebGL effect alone.
How do I install it?
Run npx skills add https://github.com/mengto/skills --skill liquid-metal-border in your project.
What are the best liquid-metal-border alternatives?
Popular alternatives to liquid-metal-border include animated-component-libraries, beam-glow-states and UICapsule. See all liquid-metal-border alternatives










