Sheet

PreviousNext

Extends the Dialog component to display content that complements the main content of the screen.

Docs
glass-uicomponent

Preview

Loading preview…
lib/utils.ts
import { clsx, type ClassValue } from "clsx"
import { twMerge } from "tailwind-merge"

export function cn(...inputs: ClassValue[]) {
  return twMerge(clsx(inputs))
}

Installation

npx shadcn@latest add @glass-ui/sheet

Usage

import { Sheet } from "@/components/sheet"
<Sheet />