Drawer
Displays a container with content overlayed onto the side of the page.
Importing
1
import { Drawer } from '@infinityfx/fluid';Usage
API reference
Drawer Props
show?
boolean
Controlled visibility state of the drawer.
onClose?
() => void
Callback function triggered when the drawer is closed (e.g. clicking the close button, overlay, or swiping).
position?
'left' | 'right'
'right'
Which side of the screen the drawer slides out from.
title?
React.ReactNode
Title text or element displayed in the header.