IconButton
An icon-only action with a required accessible name.
Preview
Use IconButton
IconButton is a named export of @flood-md/react. Connect the package once, then import what you use.
Design notes
- Provide a meaningful action label, rather than the name of the glyph.
- Supply a licensed SVG. IconButton wraps it in a decorative IconSlot sized to the control.
- Connect onClick to your host action. The interactive preview adds a local count; the basic usage snippet only shows composition.
API reference
View TypeScript source