React
Is new design vision part implemented using new tokens?
React
Is new design vision part implemented using new tokens?
import { Tag } from '@optimus-web/core';
<Tag variant="primary">
Tag
</Tag>
Name |
Description |
Type |
Default |
---|---|---|---|
children? |
Defines the tag content |
ReactNode |
undefined |
variant? |
Defines the variant for the tag |
TagVariant |
basicBold |
outline? |
Enables the outline style |
boolean |
false |
leadingIcon? |
Defines the icon before the text of the tag |
IconName |
undefined |
trailingIcon? |
Defines the icon after the text of the tag |
IconName |
undefined |
ref? |
Adds your React.Ref to the tag |
React.Ref<HTMLDivElement> |
undefined |