# Label (fw-label)
fw-label displays an informational text component that identifies other components on the user interface.
# Demo
Show Code
# Usage
# Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
color | color | Theme based on which the label is styled. | "blue" \| "green" \| "grey" \| "normal" \| "red" \| "yellow" | 'normal' |
value | value | Display text in the label. | string | '' |
# CSS Custom Properties
Name | Description |
---|---|
--fw-label-padding-horizontal | Left - Right padding if direction is left-to-right, and Right - Left padding if direction is right-to-left for label |
--fw-label-padding-vertical | Top - bottom padding for label |
Built with ❤ at Freshworks