BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/atroui/og-examples

OG Examples

atroui/og-examples
FreeBlock

OG style gallery with editable CONTENT examples.

Install it

npx shadcn@latest add https://atroui.com/r/og-examples.json

Source

registry/default/blocks/og-examples.tsxatroui.com/r/og-examples.json
1"use client"
2
3import Link from "next/link"
4
5import { OgLivePreview, type OgStyleKey } from "./og-live-preview"
6import { cn } from "@/lib/utils"
7
8/** Edit CONTENT for demo cards shown in the gallery. */
9const CONTENT = {
10 examples: [
11 {
12 title: "Ship this week",
13 subtitle: "Fixed-scope MVP",
14 styleKey: "paperQuote" as OgStyleKey,
15 href: "/og",
16 },
17 {
18 title: "Own the UI",
19 subtitle: "shadcn registry",
20 styleKey: "boldSplit" as OgStyleKey,
21 href: "/docs/registry",
22 },
23 ],
24}
25
26export function OgExamples({
27 preview = false,
28 className,
29}: {
30 preview?: boolean
31 className?: string
32}) {
33 return (
34 <div className={cn("grid gap-4 sm:grid-cols-2", className)}>
35 {CONTENT.examples.map((ex) => (
36 <Link
37 key={ex.title}
38 href={ex.href}
39 className="group relative aspect-1200/630 overflow-hidden rounded-2xl border border-border-subtle"
40 >
41 <OgLivePreview
42 title={ex.title}
43 subtitle={ex.subtitle}
44 styleKey={ex.styleKey}
45 />
46 {!preview ? (
47 <span className="absolute right-3 bottom-3 rounded-md border border-white/20 bg-black/50 px-2.5 py-1 text-[11px] text-white backdrop-blur-sm">
48 Open
49 </span>
50 ) : null}
51 </Link>
52 ))}
53 </div>
54 )
55}

What it pulls in

npm packages

  • next

Other registry items

  • @atroui/utils
  • @atroui/og-live-preview

Files it writes

  • registry/default/blocks/og-examples.tsx

Facts

Registry
atroui
Type
registry:block
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-11
Last confirmed
today

Go to the source

atroui.com atroui/atroui on GitHub Raw registry item This item as JSON

More from atroui

All 81 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Analytics Provideranalytics-provideratrouiBlocksFree1 dep
AR Portfolioar-portfolioatrouiBlocksFree1 dep
Before / Afterbefore-after-slideratrouiBlocksFreeno deps
Calendly Embedcalendly-embedatrouiBlocksFree1 dep
ChangelogchangelogatrouiBlocksFreeno deps
Command Menucommand-menuatrouiBlocksFree4 deps
Contact Formcontact-formatrouiBlocksFree2 deps
Contextual CTAcontextual-ctaatrouiBlocksFree2 deps
BlockDex

Built by

Kynth Studios

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 Studios

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 Studios

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