BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/ogimagecn/blog

Blog

ogimagecn/blog
FreeComponent

An article Open Graph image with a category badge, headline, excerpt, and author row.

Live preview

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

Install it

npx shadcn@latest add https://ogimagecn.com/r/blog.json

Source

registry/components/blog/index.tsxogimagecn.com/r/blog.json
1export interface BlogProps {
2 category: string;
3 title: string;
4 excerpt: string;
5 author: string;
6 meta: string;
7 avatar?: string;
8 brand: string;
9 logo?: string;
10}
11
12const initials = (name: string) =>
13 name
14 .split(" ")
15 .map((part) => part.charAt(0))
16 .slice(0, 2)
17 .join("")
18 .toUpperCase();
19
20export const Blog = ({
21 category,
22 title,
23 excerpt,
24 author,
25 meta,
26 avatar,
27 brand,
28 logo,
29}: BlogProps) => (
30 <div
31 style={{
32 backgroundColor: "#ffffff",
33 color: "#0a0a0a",
34 display: "flex",
35 flexDirection: "column",
36 height: "100%",
37 justifyContent: "space-between",
38 padding: "80px",
39 position: "relative",
40 width: "100%",
41 }}
42 >
43 <div
44 style={{
45 alignSelf: "flex-start",
46 backgroundColor: "rgba(124,58,237,0.15)",
47 borderRadius: "999px",
48 color: "#7c3aed",
49 display: "flex",
50 fontSize: "26px",
51 fontWeight: 600,
52 letterSpacing: "0.02em",
53 padding: "10px 22px",
54 textTransform: "uppercase",
55 }}
56 >
57 {category}
58 </div>
59
60 <div style={{ display: "flex", flexDirection: "column" }}>
61 <div
62 style={{
63 display: "flex",
64 fontSize: title.length > 48 ? 64 : 78,
65 fontWeight: 700,
66 letterSpacing: "-0.03em",
67 lineHeight: 1.05,
68 maxWidth: "1000px",
69 }}
70 >
71 {title}
72 </div>
73 <div
74 style={{
75 color: "#52525b",
76 display: "flex",
77 fontSize: "34px",
78 lineHeight: 1.4,
79 marginTop: "28px",
80 maxWidth: "920px",
81 }}
82 >
83 {excerpt}
84 </div>
85 </div>
86
87 <div style={{ alignItems: "center", display: "flex", gap: "20px" }}>
88 {avatar ? (
89 <img
90 alt={author}
91 src={avatar}
92 width={72}
93 height={72}
94 style={{ borderRadius: "999px" }}
95 />
96 ) : (
97 <div
98 style={{
99 alignItems: "center",
100 backgroundColor: "#7c3aed",
101 borderRadius: "999px",
102 color: "#ffffff",
103 display: "flex",
104 fontSize: "30px",
105 fontWeight: 700,
106 height: "72px",
107 justifyContent: "center",
108 width: "72px",
109 }}
110 >
111 {initials(author)}
112 </div>
113 )}
114 <div style={{ display: "flex", flexDirection: "column" }}>
115// … truncated

Files it writes

  • registry/components/blog/index.tsx

Facts

Registry
ogimagecn
Type
registry:component
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-07
Last confirmed
yesterday

Go to the source

Docs on ogimagecn ogimagecn.com shadcn-labs/ogimagecn on GitHub Raw registry item This item as JSON

More from ogimagecn

All 22 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
ChangelogchangelogogimagecnComponentsFreeno deps
EditorialeditorialogimagecnComponentsFreeno deps
EventeventogimagecnComponentsFreeno deps
GridgridogimagecnComponentsFreeno deps
LogologoogimagecnComponentsFreeno deps
OwnerownerogimagecnComponentsFreeno deps
PhotophotoogimagecnComponentsFreeno deps
ProductproductogimagecnComponentsFreeno deps

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