• What is KendoReact
  • Getting Started
  • Server Components
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Chartsupdated
    • Common Utilities
    • Conversational UIupdated
    • Data Gridupdated
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Formupdated
    • Ganttupdated
    • Gauges
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
      • Overview
      • Getting Started
      • ActionSheet
      • AppBar
      • Avatar
      • BottomNavigation
      • Breadcrumb
      • Card
      • Drawer
      • ExpansionPanel
      • GridLayout
      • Menu
      • Context Menu
      • PanelBar
      • Splitter
      • StackLayout
      • TabStrip
      • Stepper
      • TileLayoutupdated
      • Timeline
      • Globalization
      • API
    • ListBox
    • ListView
    • Map
    • Notification
    • OrgChartnew
    • PDF Processing
    • PDFViewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeViewupdated
    • Upload
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

DrawerProps

The properties of the KendoReact Drawer component.

NameTypeDefaultDescription

animation?

boolean | DrawerAnimation

Specifies the animation settings of the Drawer. If boolean enables or disables the default animation. Use DrawerAnimation to set slide animation with customizable duration option. Accepts a number in milliseconds.

children?

any

Sets the Drawer items declaratively.

className?

string

Specifies a list of CSS classes that will be added to the Drawer element.

dir?

string

Represents the dir HTML attribute. This is used to switch from LTR to RTL.

expanded?

boolean

Specifies the state of the Drawer. Defaults to false (see example).

item?

React.ComponentType<DrawerItemProps>

Overrides the default component responsible for visualizing a single item (see example).

The default Component is: DrawerItem.

items?

DrawerItemProps[]

The collection of items that will be rendered in the Drawer (see example).

mini?

boolean

Enables the mini (compact) view of the Drawer which is displayed when the component is collapsed (see example)).

miniWidth?

number

Defines the width of the Drawer when the mini view is enabled and the component is collapsed. Defaults to 50.

mode?

"push" | "overlay"

Specifies the mode in which the Drawer will be displayed. The possible values are overlay and push. Defaults to overlay (see example).

onOverlayClick?

(event: MouseEvent<HTMLDivElement>) => void

The event handler that will be fired when the overlay is clicked. Used in overlay mode only.

onSelect?

(event: DrawerSelectEvent) => void

Fires when a Drawer item is selected.

position?

"end" | "start"

Specifies the position of the Drawer. The possible values are start and end (see example).

style?

React.CSSProperties

Sets additional CSS styles to the Drawer.

tabIndex?

number

Sets the tabIndex property of the Drawer.

width?

number

Defines the width of the Drawer when it is expanded. Defaults to 240.