Icon Stack
A layered icon illustration for empty states: three receding cards drawn from currentColor, with an optional glyph (children) laid flat on the front card.
Overview
Pairs with EmptyMedia. Decorative: the SVG is hidden from assistive tech, so give the glyph aria-hidden too.
Installation
CLI
Manual
- 1
Register the @fma-ds namespace in components.json (once)
- 2
Add the item
Files land in
components/fma-ds/icon-stack.tsx; npm and registry dependencies are installed along with them.
Dependencies
- npm
- cn@^0.5.0
- Registry
- None