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/item
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.

item

ondo-ui/item
RemovedComponent

A versatile component for displaying content with media, title, description, and actions.

Install it

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

Source

components/ui/item.tsxui.ondo.dou.so/r/item.json
1import * as React from "react"
2import { mergeProps } from "@base-ui/react/merge-props"
3import { useRender } from "@base-ui/react/use-render"
4import { cva, type VariantProps } from "class-variance-authority"
5
6import { cn } from "@/lib/utils"
7import { Separator } from "@/components/ui/separator"
8
9function ItemGroup({ className, ...props }: React.ComponentProps<"div">) {
10 return (
11 <div
12 role="list"
13 data-slot="item-group"
14 className={cn(
15 "group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2",
16 className
17 )}
18 {...props}
19 />
20 )
21}
22
23function ItemSeparator({
24 className,
25 ...props
26}: React.ComponentProps<typeof Separator>) {
27 return (
28 <Separator
29 data-slot="item-separator"
30 orientation="horizontal"
31 className={cn("my-2", className)}
32 {...props}
33 />
34 )
35}
36
37const itemVariants = cva(
38 "group/item flex w-full flex-wrap items-center rounded-md border text-sm transition-colors duration-100 outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [a]:transition-colors [a]:hover:bg-muted",
39 {
40 variants: {
41 variant: {
42 default: "border-transparent",
43 outline: "border-border",
44 muted: "border-transparent bg-muted/50",
45 },
46 size: {
47 default: "gap-3.5 px-4 py-3.5",
48 sm: "gap-2.5 px-3 py-2.5",
49 xs: "gap-2 px-2.5 py-2 in-data-[slot=dropdown-menu-content]:p-0",
50 },
51 },
52 defaultVariants: {
53 variant: "default",
54 size: "default",
55 },
56 }
57)
58
59function Item({
60 className,
61 variant = "default",
62 size = "default",
63 render,
64 ...props
65}: useRender.ComponentProps<"div"> & VariantProps<typeof itemVariants>) {
66 return useRender({
67 defaultTagName: "div",
68 props: mergeProps<"div">(
69 {
70 className: cn(itemVariants({ variant, size, className })),
71 },
72 props
73 ),
74 render,
75 state: {
76 slot: "item",
77 variant,
78 size,
79 },
80 })
81}
82
83const itemMediaVariants = cva(
84 "flex shrink-0 items-center justify-center gap-2 group-has-data-[slot=item-description]/item:translate-y-0.5 group-has-data-[slot=item-description]/item:self-start [&_svg]:pointer-events-none",
85 {
86 variants: {
87 variant: {
88 default: "bg-transparent",
89 icon: "[&_svg:not([class*='size-'])]:size-4",
90 image:
91// … truncated

What it pulls in

npm packages

  • @base-ui/react
  • class-variance-authority

Other registry items

  • @ondo-ui/separator
  • @ondo-ui/utils

Files it writes

  • components/ui/item.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