IconButton
A toolbar button that is only a symbol: the plus, the chevrons, the sidebar toggle. plain sits on the bar, tinted is a rounded square over fill, round is the small circle a stepper uses. The label is required because the glyph is decorative.
function IconButton({
name,
size = 15,
variant = 'plain',
xstyle,
animate,
type = 'button',
...props
}: IconButtonProps)API reference
| Prop | Type | Default | Description |
|---|---|---|---|
name | SymProps['name'] | - | |
size? | number | 15 | |
variant? | 'plain' | 'tinted' | 'round' | 'plain' |
Also accepts Omit<PrimitiveProps<'button'>, 'as' | 'children'>. Raw style and className are refused.
Related components
LargeTitleThe existing 34-point large app title. It wraps naturally at cover width.ListSemantic list. Use Row as="li" for direct children, or place Sections inside list items.MenuThe iOS pop-up menu: a sheet of actions that floats out of the control which opened it and sinks back once one is chosen. The caller keeps `open` and puts `aria-expanded` on that control; `onClose` runs after the chosen action.