BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shadcn/ui/demo

Demo

agentmesh/demo
FreeExample

shadcn/ui publishes no description for this item.

Live preview

live · rendered by the registry
Rendered by shadcn/ui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/ombhanushaliii/agentmesh/main/example/ui/apps/v4/public/r/styles/base-vega/demo.json

Source

registry/base-vega/examples/demo.tsxraw.githubusercontent.com/ombhanushaliii/agentmesh/main/example/ui/apps/v4/public/r/styles/base-vega/demo.json · first 6 KB
1"use client"
2
3import * as React from "react"
4
5import {
6 AlertDialog,
7 AlertDialogAction,
8 AlertDialogCancel,
9 AlertDialogContent,
10 AlertDialogDescription,
11 AlertDialogFooter,
12 AlertDialogHeader,
13 AlertDialogTitle,
14 AlertDialogTrigger,
15} from "@/registry/base-vega/ui/alert-dialog"
16import { Badge } from "@/registry/base-vega/ui/badge"
17import { Button } from "@/registry/base-vega/ui/button"
18import { ButtonGroup } from "@/registry/base-vega/ui/button-group"
19import {
20 Card,
21 CardContent,
22 CardDescription,
23 CardHeader,
24 CardTitle,
25} from "@/registry/base-vega/ui/card"
26import { Checkbox } from "@/registry/base-vega/ui/checkbox"
27import {
28 DropdownMenu,
29 DropdownMenuContent,
30 DropdownMenuGroup,
31 DropdownMenuItem,
32 DropdownMenuLabel,
33 DropdownMenuSeparator,
34 DropdownMenuTrigger,
35} from "@/registry/base-vega/ui/dropdown-menu"
36import { Field, FieldGroup } from "@/registry/base-vega/ui/field"
37import {
38 InputGroup,
39 InputGroupAddon,
40 InputGroupInput,
41 InputGroupText,
42} from "@/registry/base-vega/ui/input-group"
43import {
44 Item,
45 ItemActions,
46 ItemContent,
47 ItemDescription,
48 ItemTitle,
49} from "@/registry/base-vega/ui/item"
50import { RadioGroup, RadioGroupItem } from "@/registry/base-vega/ui/radio-group"
51import { Slider } from "@/registry/base-vega/ui/slider"
52import { Switch } from "@/registry/base-vega/ui/switch"
53import { Textarea } from "@/registry/base-vega/ui/textarea"
54import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"
55
56export function Demo() {
57 const [sliderValue, setSliderValue] = React.useState<number[]>([500])
58 const handleSliderValueChange = React.useCallback(
59 (value: number | readonly number[]) => {
60 if (typeof value === "number") {
61 setSliderValue([value])
62 } else {
63 setSliderValue([...value])
64 }
65 },
66 []
67 )
68
69 return (
70 <div className="flex min-h-screen w-full flex-col items-center justify-center bg-muted p-4 sm:p-6 lg:p-12 dark:bg-background">
71 <div className="grid max-w-3xl gap-4 sm:grid-cols-2">
72 <div className="flex flex-col gap-4">
73 <Card>
74 <CardHeader>
75 <CardTitle>Style Overview</CardTitle>
76 <CardDescription className="line-clamp-2">
77 Designers love packing quirky glyphs into test phrases. This is
78 a preview of the typography styles.
79 </CardDescription>
80 </CardHeader>
81 <CardContent>
82 <div className="grid grid-cols-6 gap-3">
83// … truncated

What it pulls in

Other registry items

  • alert-dialog
  • badge
  • button
  • button-group
  • card
  • checkbox
  • dropdown-menu
  • field
  • input-group
  • item
  • radio-group
  • slider
  • switch
  • textarea

Files it writes

  • registry/base-vega/examples/demo.tsx

Facts

Registry
shadcn/ui
Type
registry:example
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-01
Last confirmed
3 days ago

Go to the source

Docs on shadcn/ui ombhanushaliii/agentmesh on GitHub Raw registry item This item as JSON

More from shadcn/ui

All 201 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Accordionaccordion-exampleshadcn/uiExamplesFreeno deps
Alert Dialogalert-dialog-exampleshadcn/uiExamplesFreeno deps
Alertalert-exampleshadcn/uiExamplesFreeno deps
Aspect Ratioaspect-ratio-exampleshadcn/uiExamplesFreeno deps
Avataravatar-exampleshadcn/uiExamplesFreeno deps
Badgebadge-exampleshadcn/uiExamplesFreeno deps
Breadcrumbbreadcrumb-exampleshadcn/uiExamplesFreeno deps
Buttonbutton-exampleshadcn/uiExamplesFreeno deps
BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex