@zedtech/zedkit-ui
Icon-only actions with a visible name
Icon-only controls with matching `aria-label` and `title` from one `label` prop.
beta
Usage
At a glance
- Who: Developers adding icon-only header or toolbar controls in an admin UI.
- What: Icon-only controls with matching
aria-labelandtitlefrom onelabelprop. - Use when: Toolbar or header controls where the glyph alone is not enough for screen readers.
- Avoid when: Actions with visible text — use
Buttoninstead.
Install
pnpm add @zedtech/zedkit-uiLatest: 0.4.0 (via changesets).
Example
import { IconButton } from "@zedtech/zedkit-ui";
<IconButton label="Open menu">☰</IconButton>Wraps: Button (same variants and sizes; size defaults to icon)