Telerik UI for ASP.NET Core Drawer Basic Usage
- EXAMPLE
- VIEW SOURCE
-
Change Theme
defaultDefault Theme
- Main
- Main Dark
- Nordic
- Ocean Blue
- Ocean Blue A11Y
- Purple
- Turquoise
Bootstrap Theme- Main
- Bootstrap 3
- Bootstrap 3 Dark
- Main Dark
- Nordic
- Turquoise
- Turquoise Dark
- Urban
- Vintage
Material Theme- Main
- Arctic
- Lime Dark
- Main Dark
- Nova
Classic Theme- Main
- Green
- Green Dark
- Lavender
- Lavender Dark
- Main Dark
- Metro
- Metro Dark
- Moonlight
- Opal
- Opal Dark
- Silver
- Silver Dark
- Uniform
Fluent Theme- Main
Also available for:
CLIENT-SIDE API HTML HELPER APIThe Drawer component is part of Telerik UI for ASP.NET Core, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.
Description
The Telerik UI for ASP.NET Core Drawer is a dismissible or permanently visible panel that can be used as a sidebar component for navigation in responsive web applications or for changing the content of a section on the page. The Drawer exposes a variety of options for layout, templates, and navigation, for example, you can position the Drawer to the left or right on the page, render it as overlaping its associated content, display the component next to the associated content, collapse or expand it.
The current example shows a Drawer and a ToolBar component. The ToolBar has a hamburger icon, which expands the Drawer on click. This logic is implemented with jQuery and the client-side API methods of the Drawer. You can review it in the toggleDrawer
script tag function. In addition, you can expand the Drawer by using a swipe gesture on the respective content, which is displayed through the ItemClick
event handler.
The ASP.NET Core Drawer component is part of Telerik UI for ASP.NET Core, a professional-grade UI library with 110+ components for building modern and feature-rich web applications. The UI for ASP.NET Core Drawer is a server-side wrapper for the Kendo UI for jQuery Drawer component and supports an HtmlHelper and a TagHelper mode.
Functionality and Features
- Display modes—Specify how the Drawer will interact with the associated content.
- Interaction modes—Determine the user interaction and component position: pulled out from or pushed away beyond the left or right edge of the screen.
- Templates—Customize the default Drawer items layout.
- Hierarchy—Create a compact hierarchical structure.
- API—Use the API methods to show and hide the component based on a specified condition.
- Accessibility and keyboard navigation—The Drawer is accessible for screen readers, supports WAI-ARIA attributes, and delivers keyboard shortcuts for faster navigation.