eds-tag
Explore the Interactive Component
Use the playground below to experiment with the component. Click the button to view the full Storybook deployment for additional examples and configurations.
See It in Use with Code
Check out this practical implementation of component.
Plain HTML
In React and Vue
Overview
EdsTag is a stylized label component designed to display short, categorical information.
It follows the EBRAINS label look — IBM Plex Mono, uppercase, a thin outline and
a small radius — with several visual intents (including tinted status chips) and
three sizes.
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
intent | intent | The visual style or intent of the tag. - brand (default) / primary: the brand category tag — thin outline, default text. - dark: a quiet grey tag. strong: solid brand-black fill. - inverse: white outline + text, for dark grounds. - brand-dark: green-tinted accent tag. - success | warning | error | info: tinted status chips. - chip / chip-off: soft pills for a set of names (on / listed but not in effect). | "brand" | "brand-dark" | "chip" | "chip-off" | "dark" | "error" | "info" | "inverse" | "primary" | "strong" | "success" | "warning" | 'brand' |
label (required) | label | The label to be displayed inside the tag. | string | undefined |
size | size | The size of the tag: small, medium, or large. | "large" | "medium" | "small" | 'large' |
Dependencies
Used by
Graph
graph TD; eds-card-app --> eds-tag eds-card-generic --> eds-tag eds-kg-learning-resources --> eds-tag style eds-tag fill:#f9f,stroke:#333,stroke-width:4px
Built with StencilJS