Tag

<NNTag>Default</NNTag>
<NNTag size="small">Small</NNTag>

Props

Name
Type
size
'default' | 'small' | string
Tag size. It's possible to pass an arbitray string to allow customizing the styles for additional sizes via CSS (the component will get a modifier class `nn-tag--{size}`)
© 2024  inniti