Beta badge
The EuiBetaBadge was created specifically to call out modules that are not in GA. Generally the labels used are "Beta" or "Lab". They require an extra
tooltipContent
to describe the purpose of the badge. You can pass an optional title
prop to populate the tooltip title or html title attribute but by default it will use the label
.If you pass in an iconType
, only the icon will be used in the badge itself and the label will be applied as the title. Only use an icon when attaching the beta badge to small components. Beta badges can also be made clickable by passing href
or onClick
as needed.
Loading...
Props
EuiBetaBadge
Extends HTMLAttributes
Prop | Description and type | Default value |
---|---|---|
Prop label# | Description and type One word label like "Beta" or "Lab" string | number | boolean | ReactElement | Iterable<ReactNode> | ReactPortal | (ReactElement<...> & string) | (Iterable<...> & string) | (ReactPortal & string) | Default value Required |
Prop className# | Description and type Type: string | Default value |
Prop aria-label# | Description and type Defines a string value that labels the current element. string | Default value |
Prop data-test-subj# |