@fluixi-ui/icon-button
v0.1.0-alpha.7
Published
Highly customizable icon button (Material look + ripple) for the Fluixi UI ecosystem
Readme
@fluixi-ui/icon-button
A square, icon-only button for the Fluixi UI ecosystem. Reuses every
@fluixi-ui/button capability
(variant, tone, size, glow, press state) plus the active skin's Material
state layer + ripple, and adds a shape (rounded / circle / square). An
aria-label is required.
import { IconButton } from '@fluixi-ui/icon-button';
<IconButton aria-label="Edit"><PencilIcon /></IconButton>
<IconButton aria-label="Delete" tone="danger" shape="circle"><TrashIcon /></IconButton>