Documentation
Drawer

Drawer

An interactive element fixed to the edge of the screen.

Usage

First of all, you need to import the Drawer component from the kitchn package.

import { Drawer } from "kitchn"

Default

Custom height

Callback

Props

NameTypeDefaultRequiredDescriptionAccepted values
showboolean-The current state of the drawer (shown or not).-
onDismiss() => void--The dismiss event handler of the modal.-
onAnimationDone() => void--The animation event handler.-
childrenReact.ReactNode---
heightnumber--The drawer's height.-