Atom
Icon button
Use when the action is already obvious from context (close a dialog, search the inbox) and you have no room for a label. A text
label prop is required so screen readers still hear the name.Do. Pass label="Close conversation". Title is set from the same string.
Don’t. Ship an icon with no accessible name.
import { IconButton, SearchIcon } from "@/components/falkon";
<IconButton label="Search messages">
<SearchIcon />
</IconButton>