BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/pane/sheet

sheet

pane/sheet
FreeComponent

pane publishes no description for this item.

Install it

npx shadcn@latest add https://pane.theui.company/r/sheet.json

Source

registry/pane/ui/sheet.tsxpane.theui.company/r/sheet.json
1"use client";
2
3import { cva, type VariantProps } from "class-variance-authority";
4import { XIcon } from "lucide-react";
5import { Dialog as SheetPrimitive } from "radix-ui";
6import type * as React from "react";
7import { Pane } from "@/components/ui/pane";
8import { cn } from "@/lib/utils";
9
10function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>) {
11 return <SheetPrimitive.Root data-slot="sheet" {...props} />;
12}
13
14function SheetTrigger({
15 ...props
16}: React.ComponentProps<typeof SheetPrimitive.Trigger>) {
17 return <SheetPrimitive.Trigger data-slot="sheet-trigger" {...props} />;
18}
19
20function SheetClose({
21 ...props
22}: React.ComponentProps<typeof SheetPrimitive.Close>) {
23 return <SheetPrimitive.Close data-slot="sheet-close" {...props} />;
24}
25
26function SheetOverlay({
27 className,
28 ...props
29}: React.ComponentProps<typeof SheetPrimitive.Overlay>) {
30 return (
31 <SheetPrimitive.Overlay
32 data-slot="sheet-overlay"
33 className={cn(
34 "fixed inset-0 z-50 bg-black/30 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
35 className,
36 )}
37 {...props}
38 />
39 );
40}
41
42const sheetVariants = cva(
43 "fixed z-50 flex data-[state=open]:animate-in data-[state=closed]:animate-out",
44 {
45 variants: {
46 side: {
47 right:
48 "inset-y-3 right-3 h-auto w-3/4 max-w-sm data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right",
49 left: "inset-y-3 left-3 h-auto w-3/4 max-w-sm data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left",
50 top: "inset-x-3 top-3 h-auto max-h-[80%] data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
51 bottom:
52 "inset-x-3 bottom-3 h-auto max-h-[80%] data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
53 },
54 },
55 defaultVariants: { side: "right" },
56 },
57);
58
59function SheetContent({
60 className,
61 children,
62 side = "right",
63 ...props
64}: React.ComponentProps<typeof SheetPrimitive.Content> &
65 VariantProps<typeof sheetVariants>) {
66 return (
67 <SheetPrimitive.Portal data-slot="sheet-portal">
68 <SheetOverlay />
69 <SheetPrimitive.Content
70 data-slot="sheet-content"
71 className={cn(sheetVariants({ side }), className)}
72 {...props}
73 >
74 <Pane
75 variant="regular"
76 radius={26}
77 className="flex h-full w-full flex-col gap-5 p-6"
78// … truncated

What it pulls in

npm packages

  • radix-ui
  • lucide-react
  • class-variance-authority

Other registry items

  • @pane/pane
  • @pane/utils

Files it writes

  • registry/pane/ui/sheet.tsx

Facts

Registry
pane
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-20
Last confirmed
today

Go to the source

pane.theui.company deniiiiz-i/pane on GitHub Raw registry item This item as JSON

More from pane

All 25 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
badgebadgepaneComponentsFree2 deps
buttonbuttonpaneComponentsFree2 deps
cardcardpaneComponentsFreeno deps
dialogdialogpaneComponentsFree2 deps
inputinputpaneComponentsFreeno deps
panepanepaneComponentsFree1 dep
switchswitchpaneComponentsFree2 deps
tabstabspaneComponentsFree2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

KitGrade

SaaS starter kits, scored on what can be checked

kitgrade.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex