gov-tag
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
color | color | Style variation of the tag. | "error" | "neutral" | "primary" | "secondary" | "success" | "warning" | ButtonColors.PRIMARY |
expanded | expanded | Expands the tag to fill 100% of the container width | boolean | false |
iconEnd | icon-end | Definition of the button icon on the left. The icon must be defined in the form "type/name". | string | undefined |
iconStart | icon-start | Definition of the button icon on the left. The icon must be defined in the form "type/name". | string | undefined |
size | size | Tag’s size. | "m" | "s" | "xs" | TagSizes._S |
type | type | Tag’s type | "bold" | "subtle" | undefined |
Dependencies
Depends on
Graph
Built with StencilJS