Usage

Add an image text alternative to convey this component’s purpose.

import { IconButton, SvgFolder } from '@loomhq/lens'
<IconButton altText="Move to Folder" icon={<SvgFolder />} />

Sizes

Icon

See the Icon set.

Disabled

Color

Use one of the pallete colors.

Props

name
type
default
iconColor
string
'body'
size
'small' | 'medium'
'medium'
altText
string
required
icon
React.ReactNode
onClick
React.ReactEventHandler
isDisabled
boolean