Skip to content
Cynco UI

Components · Actions

IconButton

A Button with a leading or trailing icon slot, sized for Cynco's 14px Phosphor icons.

import { IconButton } from "@cynco-labs/ui";

Example

Use

Any action whose icon helps scanning: "New invoice", "Filter". Icon-only for compact toolbars (pair with a tooltip).

Props

All Button props plus icon, rightIcon and iconOrientation (left · center · right).

Notes

Use skeleton for icon-only actions inside rows.

Source Demo source Markdown