Tag
Indicator with optional label.
import { Tag } from 'degen'
name | type | default |
---|---|---|
as | "div" | "span" | div |
hover | boolean | - |
label | string | - |
size | "medium" | "small" | medium |
tone | "background" | "blue" | "green" | "orange" | "pink" | "purple" | "red" | "accent" | "primary" | "secondary" | secondary |