LogoSquareIntroducing NexaDashNext.js admin dashboard with UI components
sbthemes logo
Free templates
Next.js logo

Next.js templates

Best Next.js templates

React logo

React templates

Best React templates

HTML5 logo

HTML5 templates

Best HTML5 templates

Tailwind CSS logo

Tailwind CSS templates

Best Tailwind CSS templates

Vue.js logo

Vue.js templates

Best Vue.js templates

Nuxt logo

Nuxt templates

Best Nuxt templates

AngularJs logo

AngularJs templates

Best AngularJs templates

AngularJs logo

All templates

Premium templates

Components

Best Components

Blocks

Best Blocks

AffiliatesAll Templates – Just $99🔥
Free templates
Affiliates
  • Introduction
    • Login
    • Signup
    • Calendar
    • Color Picker
    • Cookie banner
    • Full Calendar
    • OTP
    • Rating
    • Sidebar
    • Slider
    • Upload
A simple sidebar
Open in New Tab
Files
app/dashboard/page.tsx
1import { Separator } from '@/components/ui/separator'
2import { AppSidebar } from '@/components/app-sidebar'
3import {
4    Breadcrumb,
5    BreadcrumbItem,
6    BreadcrumbLink,
7    BreadcrumbList,
8    BreadcrumbPage,
9    BreadcrumbSeparator,
10} from '@/components/ui/breadcrumb'
11import {
12    SidebarInset,
13    SidebarProvider,
14    SidebarTrigger,
15} from '@/components/ui/sidebar'
16
17export default function Page() {
18    return (
19        <SidebarProvider>
20            <AppSidebar />
21            <SidebarInset>
22                <header className="flex h-16 shrink-0 items-center gap-2 border-b border-border">
23                    <div className="flex items-center gap-2 px-3">
24                        <SidebarTrigger  variant={'outline'}/>
25                        <Separator
26                            orientation="vertical"
27                            className="mr-2 h-4"
28                        />
29                        <Breadcrumb>
30                            <BreadcrumbList>
31                                <BreadcrumbItem className="hidden md:block">
32                                    <BreadcrumbLink href="#">
33                                        Building Your Application
34                                    </BreadcrumbLink>
35                                </BreadcrumbItem>
36                                <BreadcrumbSeparator className="hidden md:block" />
37                                <BreadcrumbItem>
38                                    <BreadcrumbPage>
39                                        Data Fetching
40                                    </BreadcrumbPage>
41                                </BreadcrumbItem>
42                            </BreadcrumbList>
43                        </Breadcrumb>
44                    </div>
45                </header>
46                <div className="flex flex-1 flex-col gap-4 p-4">
47                    <div className="grid auto-rows-min gap-4 md:grid-cols-3">
48                        <div className="bg-gray-200 aspect-video rounded-xl" />
49                        <div className="bg-gray-200 aspect-video rounded-xl" />
50                        <div className="bg-gray-200 aspect-video rounded-xl" />
51                    </div>
52                    <div className="bg-gray-200 min-h-[100vh] flex-1 rounded-xl md:min-h-min" />
53                </div>
54            </SidebarInset>
55        </SidebarProvider>
56    )
57}
58
A simple sidebar.
sidebar-01
sidebar-01sidebar-01
Logo

Explore premium and free templates at sbthemes. Elevate your online presence with ease. Your journey to a stunning website begins here.

Technologies

Next.js templatesReact templatesHTML5 templatesTailwind CSS templatesVue.js templatesNuxt templatesAngularJs templates

Company

AffiliatesBlogToolsSitemapHelp & SupportContact usRSS Feed Directory

Legal

Terms of servicePrivacy policyRefund policy

©2025 sbthemes. All rights reserved.