VisualProduct
Glyph melt
Product glyph that transitions on hover, focus, or while its parent card is visible.
npx context-ds add glyph-meltUsage
Use it for
Link or button cards whose glyph should answer the hover. The card is the nearest link, button or data-hover-morph.
Avoid
- Melts outside a link
- button or data-hover-morph card
Dependencies: glyph-engine, glyph-tile, use-hover-dot-morph, theme-store
Example
examples/glyph-melt.tsx
Source
components/visuals/glyph/glyph-melt.tsx
Reference: context-dashboard src/components/dots/glyph-melt.tsx (the site has no melt glyph).