FANCYUI
Tune Card — liquid-metal edge
Esc to close
Card — liquid-metal edge
A polished metal ring that keeps flowing around a card, in chromatic, silver or gold.
Use in FancyUI
-
pnpm add fancy-ui-svelteimport { GlowBorder } from "fancy-ui-svelte";
- Type
- Interaction
- Interaction
- Ambient
- Style
- Glow, Iridescent
- Code availability
- Open source
Why it works
Two conic fields drift at different rates under a glint that laps the border, so the edge looks like polished metal catching light rather than a lit stroke. Neutral body and shadow are woven into the tint, which keeps even the chromatic preset from reading as a rainbow.
When to use it
One surface that should feel premium: the featured pricing tier, a selected plan, a hero card.
Things to watch
Pure CSS (registered custom properties), no listeners. Reduced motion stops the fields and parks the glint. It is an overlay with no children: the parent must be positioned and rounded.
Implementation clues
- @property angles per field
- two conic fields + a glint lap
- mask to the border ring
- presets: chromatic / silver / gold