Skip to content
PreviewOpen the filters, turn one on, then drag the sheet down to close it.

FilterDrawer

title
string
Default: "Filters"
onClear
() => void
clearable
boolean
Default: true
doneLabel
string
Default: "Done"
container
PortalContainer
Where a surface's portal mounts. Default: document.body. Pass a themed subtree to keep its data-theme, or a transformed stage to contain position: fixed overlays (previews): a modal set down in one stays in it, shown in place, out of the browser's top layer.
open
boolean
Controlled open state.
defaultOpen
boolean
Default: false
Initial open state when uncontrolled.
onOpenChange
(open: boolean, details: OpenChangeDetails) => void
Called when the popup opens or closes, with why (details.reason) and the event.
onOpenChangeComplete
(open: boolean) => void
Called once the open or close transition has finished.

labelrequired
string

labelrequired
string
checkedrequired
boolean
onCheckedChangerequired
(checked: boolean) => void
end
ReactNode
disabled
boolean

State machine

Preview