x
1
2
3
4
5
6
7
8
9
<aside class="flex flex-col h-full w-64 bg-primary-800 text-white border-r border-primary-900 shrink-0" data-position="left" data-collapsible="true"> <div class="flex-1 overflow-y-auto p-4 space-y-6"> <nav class='space-y-2'> <a href='#' class='block px-4 py-2 rounded-md bg-white/20 text-white'>Dashboard</a> <a href='#' class='block px-4 py-2 rounded-md hover:bg-white/10 text-primary-100'>Projects</a> <a href='#' class='block px-4 py-2 rounded-md hover:bg-white/10 text-primary-100'>Team</a> </nav> </div></aside>1
2
3
4
5
6
7
8
9
render BetterUi::Drawer::SidebarComponent.new(variant: :primary) do |sidebar| sidebar.with_navigation do "<nav class='space-y-2'> <a href='#' class='block px-4 py-2 rounded-md bg-white/20 text-white'>Dashboard</a> <a href='#' class='block px-4 py-2 rounded-md hover:bg-white/10 text-primary-100'>Projects</a> <a href='#' class='block px-4 py-2 rounded-md hover:bg-white/10 text-primary-100'>Team</a> </nav>".html_safe endendNo notes provided.
No params configured.