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.
Active
Disabled
Color
Use one of the palette colors.
Props
name
type
default
iconColor
string
'body'
size
'small' | 'medium'
'medium'
altText
string
required
icon
React.ReactNode
onClick
React.ReactEventHandler
isActive
boolean
isDisabled
boolean