Introduction
Installation
Next.jsViteLaravelReact RouterRemixAstroTanStack StartTanStack RouterManual InstallationMCP
All componentsTheme
FieldFormInputText FieldTextareaSearch FieldInput OTPNumber FieldNumber FormatSliderCheckboxSwitchRadioSelectCombo BoxList BoxChoice BoxMulti SelectToken FieldNewTag FieldTag GroupCalendarDate FieldDate PickerDate Range PickerRange CalendarTime FieldColor PickerColor FieldColor AreaColor SliderColor SwatchColor Swatch PickerColor ThumbColor WheelDrop ZoneFile Trigger
ButtonButton GroupToggleToggle GroupPreskok Auth Button
EditorHeadingLinkTextKeyboard
CardContainerGrid ListResizableTableTreeSeparatorDescription ListScroll AreaShow MoreToolbar
BreadcrumbsNavbarPaginationTabsSidebar
DialogModalDrawerPopoverPreview TriggerNewSheetTooltipContext MenuDropdownCommandCommand MenuDisclosureMenu
ToastProgress BarProgress CircleMeterLoaderSkeletonNoteBadge
Chart (helpers)Area ChartBar ChartLine ChartPie ChartExperimental ChartsNewExperimental Radial ChartNewExperimental Radar ChartNewBar ListTracker
Async ImageAvatarCarouselPreskok Icon
Navigation

Sidebar

A composable, themeable, and customizable React Aria sidebar.

View as MarkdownAsk ChatGPT

Installation

npx shadcn@latest add @preskok/sidebar

Complete example

Install the responsive example above when you want a ready-to-run sidebar layout instead of starting from the primitives.

npx shadcn@latest add @preskok/sidebar-preskok-demo

Usage

import {
  Sidebar,
  SidebarContent,
  SidebarGroup,
  SidebarGroupContent,
  SidebarGroupLabel,
  SidebarMenu,
  SidebarMenuButton,
  SidebarMenuItem,
  SidebarProvider,
} from "@/components/ui/preskok-ui/sidebar"

export function SidebarDemo() {
  return (
    <SidebarProvider>
      <Sidebar collapsible="icon">
        <SidebarContent>
          <SidebarGroup>
            <SidebarGroupLabel>Application</SidebarGroupLabel>
            <SidebarGroupContent>
              <SidebarMenu>
                <SidebarMenuItem>
                  <SidebarMenuButton href="#">Dashboard</SidebarMenuButton>
                </SidebarMenuItem>
              </SidebarMenu>
            </SidebarGroupContent>
          </SidebarGroup>
        </SidebarContent>
      </Sidebar>
    </SidebarProvider>
  )
}

Tabs

A tabs component with accessible tab navigation.

Dialog

Modal dialog with header, body, and footer composition.

On this page

Installation
Complete example
Usage
Preskok UIOperations
Overview
Overview
Orders
Products
Payments
4
Support
  • Tickets
  • Chat Support
  • FAQ
  • Sales Docs
  1. Dashboard
  2. Newsletter

Operations Overview

Keep fulfillment, payments, and support in sync.

Updated 2 minutes ago

Orders Today

148

+12% vs yesterday

Pending Tickets

9

3 need priority response

Failed Payments

4

All from one billing region

Recent Activity

Order #3921 packed

Warehouse A

2m ago

Ticket #188 escalated

Shipping delay complaint

11m ago

Payout batch processed

$12,420 settled

43m ago

Team Focus

  • Review failed payment retries
  • Confirm tomorrow stock transfer
  • Prepare weekly support report