⭐️ Love Puck? Give us a star on GitHub! →
  • 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 ReferenceOverridesdrawerItem

drawerItem

Override an item within the component drawer.

const overrides = { drawerItem: ({ name }) => <div>{name}</div>, };

Props

PropExampleType
children<div />ReactNode
name"Button"ReactNode

children

The default node for the drawer item.

name

The name of the drawer item.

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