Icon Button
A square button that holds only an icon (round on request). aria-label is required by the types.
import { IconButton } from "pleate/icon-button";Variants and sizes
Props
- aria-label
Required accessible name.
string- icon
The glyph (or pass it as children).
ReactNode- variant / tone / size / shape
Same as Button; defaults to the gray variant.
default "gray"