Theme-aware
All components inherit the current daisyUI / Tailwind theme.
This page showcases the reusable MDX components available to authors. Mix and match callouts, attention banners, checklists, key takeaway grids, inline badges, and interactive React islands to elevate your blog posts.
src/components/mdx/. Each component respects the siteβs theme
tokens, so they automatically stay on-brand.
Use <Notice /> blocks to highlight information. Choose
from info, success, tip, warning, danger, or neutral intents, and customise
the icon or spacing.
client:idle or
client:visible unless the component must load immediately.
Attention banners help you announce launches, promotions, or important reminders with an optional call-to-action button.
Present onboarding steps, publishing workflows, or project requirements in a friendly checklist. Each item supports a title, optional detail, and status.
Write markdown, sprinkle in components, and preview locally.
Pick the intent that matches the message tone.
Hydrate metrics or demos using React islands.
Summarise the most important points with a responsive grid. Adjust the column count to fit your narrative.
All components inherit the current daisyUI / Tailwind theme.
Declarative props keep authors focused on content, not markup.
Mix notices, badges, and interactive blocks on the same page.
Semantic HTML and readable contrast out of the box.
React islands hydrate only when necessary.
See <code>mdx-demo.mdx</code> for usage snippets per component.
Inline badges call attention to short phrases without breaking the paragraph flow. Wrap them in links for quick references or tags.
Performance target: 95 Lighthouse Accessibility status: Review contrast Docs: MDX reference
Combine the component library with interactive React widgets. Use hydration directives to balance performance and interactivity.
This interactive block is rendered with React, hydrated on the client.
Tip: click a swatch to copy the hex value to your clipboard.
Monthly readers
48k
+12% vs last month
Newsletter signups
2.4k
+240 this week
Time on page
4m 12s
steady engagement
client:visible demo
This component hydrates only when you scroll it into view. The heartbeat updates every second once it is active.
Mix these building blocks to craft compelling, on-brand articles. When you create a
new MDX file using npm run new:post:mdx, import the components you need
and compose your story with confidence.