This component no longer exists. It was in ondo-ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-09 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
sheet
ondo-ui/sheetRemovedComponent
Extends the Dialog component to display content that complements the main content of the screen.
Install it
npx shadcn@latest add https://ui.ondo.dou.so/r/sheet.jsonSource
1"use client"23import * as React from "react"4import { Dialog as SheetPrimitive } from "@base-ui/react/dialog"56import { cn } from "@/lib/utils"7import { Button } from "@/components/ui/button"8import { IconX } from "@tabler/icons-react"910function Sheet({ ...props }: SheetPrimitive.Root.Props) {11 return <SheetPrimitive.Root data-slot="sheet" {...props} />12}1314function SheetTrigger({ ...props }: SheetPrimitive.Trigger.Props) {15 return <SheetPrimitive.Trigger data-slot="sheet-trigger" {...props} />16}1718function SheetClose({ ...props }: SheetPrimitive.Close.Props) {19 return <SheetPrimitive.Close data-slot="sheet-close" {...props} />20}2122function SheetPortal({ ...props }: SheetPrimitive.Portal.Props) {23 return <SheetPrimitive.Portal data-slot="sheet-portal" {...props} />24}2526function SheetOverlay({ className, ...props }: SheetPrimitive.Backdrop.Props) {27 return (28 <SheetPrimitive.Backdrop29 data-slot="sheet-overlay"30 className={cn(31 "fixed inset-0 z-50 bg-black/10 transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs",32 className33 )}34 {...props}35 />36 )37}3839function SheetContent({40 className,41 children,42 side = "right",43 showCloseButton = true,44 ...props45}: SheetPrimitive.Popup.Props & {46 side?: "top" | "right" | "bottom" | "left"47 showCloseButton?: boolean48}) {49 return (50 <SheetPortal>51 <SheetOverlay />52 <SheetPrimitive.Popup53 data-slot="sheet-content"54 data-side={side}55 className={cn(56// … truncated
What it pulls in
npm packages
Other registry items
