Files
ersatztv/design-system/components/forms/IconButton.prompt.md
T
2026-07-02 07:37:00 +02:00

434 B

IconButton — icon-only square button for table row actions (edit, preview, delete) and toolbars. Always pass title for the tooltip/aria-label.

<IconButton title="Edit channel"><EditIcon/></IconButton>
<IconButton title="Preview" variant="solid"><PlayIcon/></IconButton>
<IconButton title="Delete" disabled><TrashIcon/></IconButton>

Props: size (sm·md), variant (ghost·solid), active, disabled, title.