components
Dot
v.1.0.0 | SaturnBadge used to indicate that there is a notification.
import { Dot } from '@kubit-ui-web/react-components'
1
<Dot variant={'WITH_BORDER'} size={'MEDIUM'} number={1} />
Variant
In Kubit Design System, users have the freedom to generate variants for each component according to their needs. While predefined variants are provided as examples, they can be modified or new ones can be added to align with the specific requirements of each project.
We have set this predefined style for its quick use, access them through the variant prop.
123
<Dot variant={'WITH_BORDER'} size={'MEDIUM'} number={9} /> <Dot variant={'WITHOUT_BORDER'} size={'MEDIUM'} number={9} /> <Dot variant={'ALTERNATIVE'} size={'MEDIUM'} number={9} />
Size
Kubit offers predefined size options. This setting can be customize, for more details, please refer to the Theming page.
12345
<div style={{ display: 'flex', alignItems: 'center', gap: '20px' }}> <Dot variant={'WITH_BORDER'} size={'SMALL'} number={9} /> <Dot variant={'WITH_BORDER'} size={'MEDIUM'} number={9} /> <Dot variant={'WITH_BORDER'} size={'BIG'} number={9} /> </div>