Go Main page
Go Main page

Web components

cover

components

Overlay

v.1.0.0 | Saturn

Visually superimposed layer that modifies the one beneath it. It is used in conjunction with other components (modal, actionBottomSheet, drawer...) to visually prioritize them and inform the user that the underlying layer is not navigable.

import { Overlay } from '@kubit-ui-web/react-components'
1
<Overlay variant="DEFAULT"></Overlay>

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 predefine style for its quick use, access them through the variant prop:

Default

1
<Overlay variant="DEFAULT"></Overlay>