Icon Button Overview
Description
Pando’s <IconButton />
is an interactive element that performs an action when activated. It should only contain an icon and is meant to be used only when space is limited. For a button with text, see the
<IconButton />
has custom props as well as access to all native <button />
attributes. <button />
element including attributes and behavior
Examples: Sending an email, linking to a common social media site in a header, or deleting an item in a list
Button Anatomy
- Button
- Icon
Import
Variations
Props
Default:
All options:
Note: those denoted with ?
are optional