Skip to content

Readability Kit

Presentational scannability primitives for long-form pages (blog posts, service pages). Astro-only (zero JS), dark-mode, reduced-motion-safe by construction, styled from the brand ramp.

src/components/growth/readability/{Callout,KeyTakeaways,PullQuote,ReadingTime}.astro · live demo: /components/readability-kit

<Callout variant="tip" title="Pro tip">Lead each section with the takeaway.</Callout>
PropTypeDefaultDescription
variant'info' | 'tip' | 'warning' | 'success''info'Icon + accent tint.
titlestringper-variant labelHeading.
(slot)Body content.
<KeyTakeaways items={['Most visitors scan first.', 'A TL;DR box lifts comprehension.']} />

Boxed “Key takeaways” list with check bullets. Props: items?: string[] or slotted <li>s, title? (default "Key takeaways").

<PullQuote quote="You own the code, forever." cite="Velocity" />

Props: quote (required), cite?.

<ReadingTime words={1200} />

“~N min read” pill. Props: words? (estimated at wpm, default 225), minutes? (direct override), wpm?. Minimum 1 min; icon decorative, text carries meaning.