API ReferenceComponents<Drawer>

<Drawer>

A list of items that can be dragged into a <Puck.Preview>. Used for composing custom Puck UIs.

Interactive Demo
Orange
Orange
import { Puck, Drawer } from "@measured/puck"; export function Editor() { return ( <Puck> <Drawer> <Drawer.Item name="Orange" /> </Drawer> </Puck> ); }

Props

ParamExampleTypeStatus
childrenchildren: <Drawer.Item />ReactNodeRequired

Required props

children

A React node representing the contents of the <Drawer>. Will likely contain <Drawer.Item> nodes.