๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข
UI Components

Sheet

A slide-in drawer panel that can appear from any edge of the screen โ€” right, left, bottom, or top.

Quick Preview

Installation

// Copy Sheet.tsx to your components/ui/ folder
// src/components/ui/Sheet.tsx

Usage

import { Sheet, SheetHeader, SheetBody, SheetFooter, SheetTitle, SheetDescription } from '@/components/ui/Sheet'
const [open, setOpen] = useState(false)
<Button onClick={() => setOpen(true)}>Open</Button>
<Sheet open={open} onClose={() => setOpen(false)} side="right">
<SheetHeader onClose={() => setOpen(false)}>
<SheetTitle>Title</SheetTitle>
</SheetHeader>
<SheetBody>Content goes here</SheetBody>
</Sheet>

Examples

Four Sides

Prompt Preview

Copy a prompt that recreates this UI

Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.

Copy-ready AI prompt

Starts from the current visual reference and project constraints.

Tweak only product-specific copy or data after the first generation pass.

Props

PropTypeDefaultDescription
open*boolean-Controls whether the sheet is open
onClose*() => void-Callback when the sheet should close
children*React.ReactNode-Sheet content
side"right" | "left" | "bottom" | "top""right"Side from which the sheet slides in
closeOnBackdropbooleantrueClose when clicking the backdrop