syncfusion-react-sidebar
Implement responsive Syncfusion React Sidebar component for navigation layouts. Use this when building responsive navigation menus, drawer layouts, or collapsible sidebars with various display modes (Over, Push, Slide). This skill covers sidebar configuration, animations, backdrop overlays, keyboard accessibility, and integration with multi-level navigation systems.
What this skill does
# Implementing Syncfusion React Sidebar
The Syncfusion React Sidebar is a responsive navigation component that enables flexible layout patterns for modern web applications. It supports multiple display modes (Over, Push, Slide, Auto), responsive breakpoints, touch gestures, keyboard navigation, and seamless integration with ListView and TreeView components.
## When to Use This Skill
Choose Sidebar when you need:
- **Responsive navigation** - Drawer menus that adapt to desktop/mobile viewports
- **Multi-mode layouts** - Over (float), Push (shift content), Slide (translate), or Auto (responsive) behaviors
- **Content organization** - Nested menus, ListView/TreeView integration, or multi-panel layouts
- **User interaction patterns** - Toggle buttons, backdrop overlays, auto-close on item click, or keyboard shortcuts
- **Accessibility** - ARIA labels, keyboard navigation (Tab, Enter, Escape), and screen reader support
- **Customization** - Themed styling, animation variations, RTL support, or custom context containers
## Navigation Guide
### Getting Started
๐ **Read:** [references/getting-started.md](references/getting-started.md)
- Installation and package setup
- Basic sidebar rendering
- CSS imports and theme configuration
- Initial state management
- First working example
### API Reference: Properties
๐ **Read:** [references/properties-reference.md](references/properties-reference.md)
- All 18 properties with types, defaults, and examples
- Display properties (type, position, width, animate, showBackdrop, zIndex)
- Behavior properties (closeOnDocumentClick, enableGestures, enableRtl, mediaQuery)
- State properties (isOpen, enableDock, dockSize, enablePersistence)
- Container property (target)
### API Reference: Methods
๐ **Read:** [references/methods-reference.md](references/methods-reference.md)
- `show(e?: Event)` - Display sidebar with optional event parameter
- `hide(e?: Event)` - Hide sidebar with optional event parameter
- `toggle()` - Toggle open/closed state
- `destroy()` - Remove sidebar from DOM
- Complete examples for each method
### API Reference: Events
๐ **Read:** [references/events-reference.md](references/events-reference.md)
- `change` - State change notification (user or programmatic)
- `open` - Before sidebar opens (preventable)
- `close` - Before sidebar closes (preventable)
- `created` - After sidebar is initialized
- `destroyed` - When sidebar is removed
- Event handling examples and patterns
### API Reference: Event Arguments
๐ **Read:** [references/event-arguments-reference.md](references/event-arguments-reference.md)
- `ChangeEventArgs` interface - element, name, cancel, isInteracted
- `EventArgs` interface - cancel, element, event, isInteracted, model
- `SidebarModel` object - Complete configuration snapshot
- Type definitions and usage examples
### Sidebar Positioning & Behavior
๐ **Read:** [references/sidebar-positioning.md](references/sidebar-positioning.md)
- Sidebar types: Over, Push, Slide, Auto
- Position: Left or Right
- Width and dock size configuration
- Multiple sidebars side-by-side
- Media query responsive behavior
### Opening & Closing Sidebar
๐ **Read:** [references/opening-closing.md](references/opening-closing.md)
- Toggle functionality
- Programmatic show/hide methods
- Auto-close on document click
- Auto-close on escape key
- Animation transitions
- Event handling for state changes
### Content Integration
๐ **Read:** [references/content-integration.md](references/content-integration.md)
- ListView integration with sidebar
- TreeView integration for hierarchical navigation
- Custom HTML content and structures
- Dynamic data binding patterns
- Menu-like navigation structures
### Styling & Customization
๐ **Read:** [references/styling-customization.md](references/styling-customization.md)
- CSS class customization
- Theme styles (default, material, bootstrap)
- Animation variations and timing
- Responsive breakpoint patterns
- RTL (Right-to-Left) support
- Custom animations
### Accessibility & Best Practices
๐ **Read:** [references/accessibility.md](references/accessibility.md)
- WCAG compliance guidelines
- Keyboard navigation (Tab, Enter, Escape)
- ARIA attributes for screen readers
- Focus management
- Backdrop overlay interaction patterns
## Quick Start
```jsx
import React, { useState } from 'react';
import { SidebarComponent } from '@syncfusion/ej2-react-navigations';
import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
function App() {
const [isOpen, setIsOpen] = useState(false);
const handleToggle = () => {
setIsOpen(!isOpen);
};
return (
<div className="container">
{/* Toggle Button */}
<ButtonComponent
cssClass="e-primary"
onClick={handleToggle}
>
Toggle Sidebar
</ButtonComponent>
{/* Sidebar Component */}
<SidebarComponent
id="sidebar"
width="250px"
type="Over"
isOpen={isOpen}
change={() => setIsOpen(!isOpen)}
showBackdrop={true}
closeOnDocumentClick={true}
>
<div className="sidebar-content">
<h3>Navigation Menu</h3>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div>
</SidebarComponent>
{/* Main Content */}
<div className="main-content">
<h1>Main Content Area</h1>
<p>Content shifts when type is "Push"</p>
</div>
</div>
);
}
export default App;
```
## Common Patterns
### Pattern 1: Responsive Auto Sidebar
Automatically switches between Over (mobile) and Push (desktop) modes based on viewport.
```jsx
<SidebarComponent
type="Auto"
width="250px"
isOpen={true}
showBackdrop={true}
/>
```
### Pattern 2: Mobile Drawer Menu
Floating sidebar that closes on backdrop click or escape key.
```jsx
<SidebarComponent
type="Over"
width="280px"
showBackdrop={true}
closeOnDocumentClick={true}
position="Left"
/>
```
### Pattern 3: Docked Navigation Panel
Persistent sidebar with fixed width that shows as icon bar when docked.
```jsx
<SidebarComponent
enableDock={true}
dockSize="50px"
width="250px"
type="Push"
/>
```
### Pattern 4: RTL Navigation (Arabic/Hebrew)
Right-aligned sidebar for right-to-left languages.
```jsx
<SidebarComponent
position="Right"
enableRtl={true}
type="Over"
/>
```
## Key Properties Overview
| Property | Type | Default | Purpose |
|----------|------|---------|---------|
| **type** | `SidebarType` | `'Auto'` | Display mode: Over, Push, Slide, Auto |
| **isOpen** | `boolean` | `false` | Controls sidebar open/closed state |
| **position** | `SidebarPosition` | `'Left'` | Sidebar placement: Left or Right |
| **width** | `string \| number` | `'auto'` | Sidebar width (pixels or percentage) |
| **target** | `HTMLElement \| string` | `null` | Container to render sidebar inside |
| **showBackdrop** | `boolean` | `false` | Show overlay when open |
| **closeOnDocumentClick** | `boolean` | `false` | Close on content area click |
| **animate** | `boolean` | `true` | Enable open/close animations |
| **enableDock** | `boolean` | `false` | Enable dock/minimize mode |
| **dockSize** | `string \| number` | `'auto'` | Width when docked |
| **enableGestures** | `boolean` | `true` | Touch swipe gestures |
| **enableRtl** | `boolean` | `false` | Right-to-left layout |
## Common Use Cases
- **Admin Dashboard Navigation** - Top header with collapsible sidebar menu
- **Mobile App Navigation** - Hamburger menu with drawer sidebar
- **E-commerce Product Filter** - Left sidebar with expandable categories
- **Documentation Sites** - Persistent table of contents sidebar
- **Settings Panels** - Floating right sidebar for preferences
- **Multi-panel Layouts** - Multiple sidebars on different sides
---
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context โ no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes โ information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development โ guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.