Overview
A’raf DS
Default
A’raf DS
Primary Dark
A’raf DS
Gray Dark
Slim
Installation
Usage
Style
Two styles are available based on the sidebar layout format.Default
Full-width sidebar with icons and text labels. Width: 312px.A’raf DS
Slim
Compact icon-only sidebar without text labels. Width: 80px. Ideal for smaller screens or as the collapsed state of the Default sidebar.Themes
Three color themes to match your project’s branding.- Default
- Primary Dark
- Gray Dark
White-dominant with dark text. Best for light-themed applications.
A’raf DS
Nav Item
Each navigation item supports several optional elements.Dashboard
10⌄
Projects
5⌄
States
Footer
Thefooter prop renders a utility area at the bottom of the sidebar with Support, Settings, and user account information.
Iqbal Maulana
- Support — Link to the support page
- Settings — Link to application settings
- Account — Avatar, name, and email of the logged-in user
- Logout button — End the current session
API Reference
SidebarNavigation
Renders the footer area with Support, Settings, and user account information.
NavItem
Accessibility
- Sidebar uses a semantic
<nav>element - Active item carries the
aria-current="page"attribute - Slim style must provide
aria-labelon every nav item for screen reader support - Full keyboard navigation: Tab, Enter, Space
- Focus rings are visible on all interactive items
Do’s & Don’ts
Do
- Use one consistent theme throughout the entire application
- Always mark exactly one item as
currentmatching the active page - Use Slim for tablet breakpoints or as a collapsed state
- Provide tooltip labels on Slim sidebar items for accessibility
Don't
- Don’t show more than 2 levels of navigation inside the sidebar
- Don’t set more than one item as
currentsimultaneously - Don’t hide the sidebar without providing an alternative navigation path
- Don’t mix sidebar theme colors with custom colors outside the design system