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

prop
type
default
iconColor
string
'body'
size
oneOf: "small", "medium"
'medium'
altText
string
required
icon
node
onClick
func
isDisabled
bool