Tag

Removable tag pill. Also exports TagInput for tag entry with suggestions.

Preview

Usage

import { Tag } from '@ramtt/ui'

<Tag>Recovery</Tag>
<Tag color="#16A34A" onRemove={() => remove('endurance')}>Endurance</Tag>

Props

PropTypeDefaultDescription
children*ReactNodeTag text
colorstringCustom color
onRemove() => voidRemove handler (shows × button)