BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/contentbit/astro-quick-ref

Quick Reference Block (Astro)

contentbit/astro-quick-ref
FreeComponent

Compact key/value reference card.

Install it

npx shadcn@latest add https://contentbit.dev/r/astro-quick-ref.json

Source

src/astro/quick-ref.astrocontentbit.dev/r/astro-quick-ref.json
1---
2import type { QuickRefData } from '@contentbit/blocks'
3import type { ValidatedBlockNode } from '@contentbit/core'
4
5interface Props {
6 node: ValidatedBlockNode<unknown>
7}
8
9const { node } = Astro.props
10const data = node.data as QuickRefData
11---
12
13<dl data-cb-styled class="bg-card my-6 space-y-2.5 rounded-lg border px-4 py-3.5">
14 {
15 data.rows.map((row) => (
16 <div class="flex items-baseline gap-3">
17 <dt class="text-muted-foreground shrink-0 text-sm">{row.key}</dt>
18 <span class="border-foreground/15 min-w-4 flex-1 self-center border-b border-dotted" aria-hidden="true" />
19 <dd class="text-right text-sm font-medium tabular-nums">{row.value}</dd>
20 </div>
21 ))
22 }
23</dl>

What it pulls in

npm packages

  • @contentbit/core
  • @contentbit/blocks
  • @contentbit/astro

Files it writes

  • src/astro/quick-ref.astro

Facts

Registry
contentbit
Type
registry:component
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-03
Last confirmed
yesterday

Go to the source

contentbit.dev agonist/contentbit on GitHub Raw registry item This item as JSON

More from contentbit

All 20 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Callout Block (Astro)astro-calloutcontentbitComponentsFree3 deps
Comparison Block (Astro)astro-comparisoncontentbitComponentsFree3 deps
Content Renderer (Astro)astro-content-renderercontentbitComponentsFree3 deps
FAQ Block (Astro)astro-faqcontentbitComponentsFree3 deps
Key Metrics Block (Astro)astro-key-metricscontentbitComponentsFree3 deps
Pros & Cons Block (Astro)astro-pros-conscontentbitComponentsFree3 deps
Steps Block (Astro)astro-stepscontentbitComponentsFree3 deps
Tabs Block (Astro)astro-tabscontentbitComponentsFree3 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