render(<Label>Default</Label>)
render(<><Label>Default</Label><Label variant="primary">Primary</Label><Label variant="secondary">Secondary</Label><Label variant="accent">Accent</Label><Label variant="success">Success</Label><Label variant="attention">Attention</Label><Label variant="severe">Severe</Label><Label variant="danger">Danger</Label><Label variant="done">Done</Label><Label variant="sponsors">Sponsors</Label></>)
render(<><Label>Small (default)</Label><Label size="large">Large</Label></>)
Name | Type | Default | Description |
---|---|---|---|
variant | | 'default' | 'primary' | 'secondary' | 'accent' | 'success' | 'attention' | 'severe' | 'danger' | 'done' | 'sponsors' | 'default' | The color of the label |
size | 'small' | 'large' | 'small' | How large the label is rendered |