Skip to content

Drawer

View on: 

A component that adds an off-canvas menu with different effects.

Import



BundlerCDNReact Legacy
import '@kemet-ui/drawer';
<script type="module" src="https://unpkg.com/kemet-ui@latest/dist/elements/drawer.js"></script>
import { KemetDrawer } from 'kemet-ui/react';

Use the effect attribute to change the animation effect of the drawer.


While not shown here, you’ll likely want to use the fill-viewport attribute to make the drawer’s height stretch to the viewport.








The gods are nature. Nature is completely free.
Version 5.0.0