BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/ondo-ui/dialog
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.

dialog

ondo-ui/dialog
RemovedComponent

A window overlaid on either the primary window or another dialog window, rendering the content underneath inert.

Install it

npx shadcn@latest add https://ui.ondo.dou.so/r/dialog.json

Source

components/ui/dialog.tsxui.ondo.dou.so/r/dialog.json
1"use client"
2
3import * as React from "react"
4import { Dialog as DialogPrimitive } from "@base-ui/react/dialog"
5
6import { cn } from "@/lib/utils"
7import { Button } from "@/components/ui/button"
8import { IconX } from "@tabler/icons-react"
9
10function Dialog({ ...props }: DialogPrimitive.Root.Props) {
11 return <DialogPrimitive.Root data-slot="dialog" {...props} />
12}
13
14function DialogTrigger({ ...props }: DialogPrimitive.Trigger.Props) {
15 return <DialogPrimitive.Trigger data-slot="dialog-trigger" {...props} />
16}
17
18function DialogPortal({ ...props }: DialogPrimitive.Portal.Props) {
19 return <DialogPrimitive.Portal data-slot="dialog-portal" {...props} />
20}
21
22function DialogClose({ ...props }: DialogPrimitive.Close.Props) {
23 return <DialogPrimitive.Close data-slot="dialog-close" {...props} />
24}
25
26function DialogOverlay({
27 className,
28 ...props
29}: DialogPrimitive.Backdrop.Props) {
30 return (
31 <DialogPrimitive.Backdrop
32 data-slot="dialog-overlay"
33 className={cn(
34 "fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",
35 className
36 )}
37 {...props}
38 />
39 )
40}
41
42function DialogContent({
43 className,
44 children,
45 showCloseButton = true,
46 ...props
47}: DialogPrimitive.Popup.Props & {
48 showCloseButton?: boolean
49}) {
50 return (
51 <DialogPortal>
52 <DialogOverlay />
53 <DialogPrimitive.Popup
54 data-slot="dialog-content"
55 className={cn(
56 "fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-6 rounded-xl bg-popover p-6 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-md data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
57 className
58 )}
59 {...props}
60 >
61 {children}
62 {showCloseButton && (
63 <DialogPrimitive.Close
64 data-slot="dialog-close"
65 render={
66 <Button
67 variant="ghost"
68 className="absolute top-4 right-4"
69 size="icon-sm"
70 />
71 }
72 >
73 <IconX
74 />
75 <span className="sr-only">Close</span>
76 </DialogPrimitive.Close>
77 )}
78 </DialogPrimitive.Popup>
79 </DialogPortal>
80 )
81}
82
83// … truncated

What it pulls in

npm packages

  • @base-ui/react
  • @tabler/icons-react

Other registry items

  • @ondo-ui/button
  • @ondo-ui/utils

Files it writes

  • components/ui/dialog.tsx

Facts

Registry
ondo-ui
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-04
Last confirmed
9 days ago

Go to the source

ui.ondo.dou.so douinc/ondo-ui on GitHub Raw registry item This item as JSON

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 from measured facts

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