Tag
Tags are used to draw attention to a specific area or information. The arrow shape helps direct the users attention to the desired place.
Figma Link
- Web Components
- Flutter
Demo
zeta-web v1.4.0
Web Components
Storybook
https://design.zebra.com/web/storybook/?path=/docs/components-badges--docs
Slots
| Name | Description | Type |
|---|---|---|
| default | The text to display in the tag. | text |
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| label | Text displayed in the tag.Currently, it is best to use this property instead of the slot, as the slot does not provide an aria label. | string | undefined | undefined |
| direction | Direction of the tag point. | "right" | "left" | "right" |
Inherited Attributes
| Name | Description | Type | Default | Inherited From |
|---|---|---|---|---|
| rounded | Whether the component is rounded or sharp.When true, rounded will set the border radius of the first child, and any children with class 'contourable-target' to --radius-minimal.Otherwise, this value will be --radius-none. | boolean | undefined | true | Contourable |
Flutter component not available yet