IconButtonProps

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.

Source
type IconButtonProps = Omit<PrimitiveProps<'button'>, 'as' | 'children'> & {
  name: SymProps['name']
  size?: number
  variant?: 'plain' | 'tinted' | 'round'
  'aria-label': string
}

API reference

type IconButtonProps = Omit<PrimitiveProps<'button'>, 'as' | 'children'> & {
  name: SymProps['name']
  size?: number
  variant?: 'plain' | 'tinted' | 'round'
  'aria-label': string
}

Related types