← Back to documentation
Label
A label that mainly describes form controls like inputs and selects.
Information
Plan: Personal
Properties
| Property | Type | Default |
|---|---|---|
| Text | string | "Text" |
| For form element | string | "" |
| Font family | string | "inherit" |
| Font size | string | "1rem" |
| Font weight | string | "600" |
| Font style | string | "normal" |
| Line height | string | "normal" |
| Color | string | "var(--pc-semantic-text-primary)" |
| Text align | enum<string> | "left" |
| Selectors | array | [] |
Variants
| Variant | Description |
|---|---|
| Dark | Coming soon... |
| Success | Coming soon... |
| Warning | Coming soon... |
| Error | Coming soon... |