✍️ Puck 0.20 released: inline text editing, overlay portals & resizable sidebars
  • Docs
  • Blog
  • Introduction
  • Getting Started
    • Component Configuration
    • Root Configuration
    • Multi-column Layouts
    • Categories
    • Dynamic Props
    • Dynamic Fields
    • External Data Sources
    • React Server Components
    • Data Migration
    • Viewports
    • Feature Toggling
    • Overlay Portals
    • Composition
    • Custom Fields
    • Field Transforms
    • Internal Puck API
    • Theming
    • Plugin API
    • UI overrides
    • Components
    • Configuration
    • Fields
    • Overrides
      • actionBar
      • componentItem
      • components
      • fieldLabel
      • fieldTypes
      • fields
      • headerActions
      • header
      • iframe
      • outline
      • preview
      • puck
      • componentOverlay
      • drawer
      • drawerItem
    • Actions
    • FieldTransforms
    • Permissions
    • Plugin
    • PuckApi
    • Theming
  • Introduction
  • Getting Started
    • Component Configuration
    • Root Configuration
    • Multi-column Layouts
    • Categories
    • Dynamic Props
    • Dynamic Fields
    • External Data Sources
    • React Server Components
    • Data Migration
    • Viewports
    • Feature Toggling
    • Overlay Portals
    • Composition
    • Custom Fields
    • Field Transforms
    • Internal Puck API
    • Theming
    • Plugin API
    • UI overrides
    • Components
    • Configuration
    • Fields
    • Overrides
      • actionBar
      • componentItem
      • components
      • fieldLabel
      • fieldTypes
      • fields
      • headerActions
      • header
      • iframe
      • outline
      • preview
      • puck
      • componentOverlay
      • drawer
      • drawerItem
    • Actions
    • FieldTransforms
    • Permissions
    • Plugin
    • PuckApi
    • Theming
API ReferenceOverridesdrawer

drawer

Override the component drawer.

const overrides = { drawer: ({ children }) => <div>{children}</div>, };

Props

PropExampleType
children<div />ReactNode

children

The default node for the component list.

Previous
componentOverlay
Next
drawerItem
On this page
  • Props
  • children
Resources
  • Docs
  • Live Demo
  • Blog
  • Releases
Products
  • Coming soon
Services
  • Coming soon
Social
  • GitHub
  • Discord
  • Twitter
  • Bluesky