Pill

Usage

import { Pill } from '@loomhq/lens'
<Pill color='white' backgroundColor='grey7'>Pill</Pill>

Color

Use one of the pallete colors.

Pill
Pill
Pill

Icon

Icon on left
Icon on right

Props

name
type
default
iconPosition
'left' | 'right'
'left'
icon
React.ReactNode
color
string
backgroundColor
string
children
React.ReactNode