BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shieldcn/readme-badge-row

Readme Badge Row

shieldcn/readme-badge-row
FreeComponent

Horizontal layout wrapper for multiple badges with consistent spacing, wrapping, and alignment. Pairs with ReadmeBadge.

Install it

npx shadcn@latest add https://shieldcn.dev/r/readme-badge-row.json

Source

registry/readme-badge-row/readme-badge-row.tsxshieldcn.dev/r/readme-badge-row.json
1/**
2 * shieldcn
3 * ReadmeBadgeRow
4 * by Justin Levine
5 * shieldcn.dev
6 *
7 * Horizontal layout wrapper for multiple badges with consistent spacing,
8 * wrapping, and alignment. Works with ReadmeBadge or any inline elements.
9 *
10 * Props:
11 * - gap?: spacing between badges ("xs" | "sm" | "md" | "lg", default "sm")
12 * - align?: horizontal alignment ("left" | "center" | "right", default "left")
13 * - className?: additional class names
14 * - children: badge elements
15 */
16
17import * as React from "react"
18import { cn } from "@/lib/utils"
19
20const gapMap = {
21 xs: "gap-1",
22 sm: "gap-2",
23 md: "gap-3",
24 lg: "gap-4",
25} as const
26
27const alignMap = {
28 left: "justify-start",
29 center: "justify-center",
30 right: "justify-end",
31} as const
32
33interface ReadmeBadgeRowProps extends React.ComponentProps<"div"> {
34 /** Spacing between badges. @default "sm" */
35 gap?: keyof typeof gapMap
36 /** Horizontal alignment. @default "left" */
37 align?: keyof typeof alignMap
38 /** Additional class names. */
39 className?: string
40 children: React.ReactNode
41}
42
43function ReadmeBadgeRow({
44 gap = "sm",
45 align = "left",
46 className,
47 children,
48 ...props
49}: ReadmeBadgeRowProps) {
50 return (
51 <div
52 data-slot="readme-badge-row"
53 className={cn(
54 "flex flex-wrap items-center",
55 gapMap[gap],
56 alignMap[align],
57 className
58 )}
59 {...props}
60 >
61 {children}
62 </div>
63 )
64}
65
66export { ReadmeBadgeRow }
67export type { ReadmeBadgeRowProps }

Files it writes

  • registry/readme-badge-row/readme-badge-row.tsx

Facts

Registry
shieldcn
Type
registry:component
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-12
Last confirmed
today

Go to the source

shieldcn.dev jal-co/shieldcn on GitHub Raw registry item This item as JSON

More from shieldcn

All 3 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Badge Previewbadge-previewshieldcnComponentsFreeno deps
Readme Badgereadme-badgeshieldcnComponentsFreeno 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

ToolDrift

What the AI coding tools changed last night

tooldrift.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 ToolDrift

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 ToolDrift

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 ToolDrift

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