Quick Reference Block
contentbit/quick-refFreeComponent
Compact key/value reference card.
Install it
npx shadcn@latest add https://contentbit.dev/r/quick-ref.jsonSource
1import { quickRefBlock } from '@contentbit/blocks'2import { defineBlockComponent } from '@contentbit/react'34export const QuickRefBlock = defineBlockComponent(quickRefBlock, ({ node }) => {5 const data = node.data6 return (7 <dl data-cb-styled className="bg-card my-6 space-y-2.5 rounded-lg border px-4 py-3.5">8 {data.rows.map((row, i) => (9 <div key={i} className="flex items-baseline gap-3">10 <dt className="text-muted-foreground shrink-0 text-sm">{row.key}</dt>11 <span12 className="border-foreground/15 min-w-4 flex-1 self-center border-b border-dotted"13 aria-hidden14 />15 <dd className="text-right text-sm font-medium tabular-nums">{row.value}</dd>16 </div>17 ))}18 </dl>19 )20})
What it pulls in
npm packages
Files it writes
More from contentbit
All 20 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Callout Block (Astro)astro-callout | contentbit | Components | Free | 3 deps | |
| Comparison Block (Astro)astro-comparison | contentbit | Components | Free | 3 deps | |
| Content Renderer (Astro)astro-content-renderer | contentbit | Components | Free | 3 deps | |
| FAQ Block (Astro)astro-faq | contentbit | Components | Free | 3 deps | |
| Key Metrics Block (Astro)astro-key-metrics | contentbit | Components | Free | 3 deps | |
| Pros & Cons Block (Astro)astro-pros-cons | contentbit | Components | Free | 3 deps | |
| Quick Reference Block (Astro)astro-quick-ref | contentbit | Components | Free | 3 deps | |
| Steps Block (Astro)astro-steps | contentbit | Components | Free | 3 deps |
