Skip to content

Instantly share code, notes, and snippets.

View Grigore147's full-sized avatar

Grigore Dutcovici Grigore147

View GitHub Profile
@Grigore147
Grigore147 / sidebar.tsx
Created August 25, 2025 01:09 — forked from nickzelei/sidebar.tsx
Shadcn multi-sidebar
import { cn } from '@/lib/utils'
import { Slot } from '@radix-ui/react-slot'
import { VariantProps, cva } from 'class-variance-authority'
import { PanelLeftIcon } from 'lucide-react'
import * as React from 'react'
import { useIsMobile } from '../../lib/hooks/useMobile'
import { Button } from './button'
import { Input } from './input'
import KeybindingTooltip from './KeybindingTooltip'
import { Separator } from './separator'