Component Gallery
Every MDX component, live and interactive. Adjust props to preview, then copy the snippet into your post.
Decorative(10)
StickyNote
Decorativefull + mediumA collapsible sticky note for sidebar observations, reminders, or key points.
Props
MDX snippet
<StickyNote title="Key Insight" color="yellow">
Sticky notes work great for asides, reminders, and callout thoughts.
</StickyNote>MarginNote
Decorativefull + mediumA handwritten-style note anchored to the left or right margin of the article.
Props
MDX snippet
<MarginNote color="amber" side="right">
A quick margin thought that adds context.
</MarginNote>WashiTape
Decorativefull onlyA decorative washi-tape strip with optional label, great for headings and section dividers.
Props
MDX snippet
<WashiTape color="yellow" label="Featured" tilt={-1}>
Section title or decorative accent
</WashiTape>Polaroid
Decorativefull + mediumA tilted polaroid photo frame with optional caption, supporting float layouts.
Props
MDX snippet
<Polaroid src="/images/your-photo.jpg" alt="Photo caption" caption="Kyoto, 2024" tilt={2} float="none" />TornPaper
Decorativefull onlyA decorative torn-paper edge divider to transition between content sections.
Props
MDX snippet
<TornPaper color="cream" flip={false} />IndexCard
Decorativefull + mediumA lined index card for definitions, summaries, or reference material.
Props
MDX snippet
<IndexCard title="Quick Reference" color="cream">
Index cards are perfect for vocabulary definitions, formulas, or any reference material.
</IndexCard>Stamp
Decorativefull onlyA rubber-stamp overlay for status labels like DRAFT, APPROVED, or FEATURED.
Props
MDX snippet
<Stamp label="APPROVED" color="blue" rotate="left" />TapedH2
Decorativefull + mediumAn H2 heading that looks like it has been taped to the page with washi tape.
Section Heading
Props
MDX snippet
<TapedH2 color="pink">Section Heading</TapedH2>Pinboard
Decorativefull + mediumA corkboard panel that displays 1-4 pinned notes with a title.
Props
MDX snippet
<Pinboard title="Research Notes">
<div>First pinned idea or fact worth highlighting.</div>
<div>A second point to remember or explore further.</div>
<div>Supporting evidence or a useful reference link.</div>
</Pinboard>FlipCard
Decorativefull + mediumA two-sided card that flips on click, ideal for before/after comparisons or flashcards.
Props
MDX snippet
<FlipCard
frontColor="blue"
backColor="green"
front={<p>What is a competitive moat?</p>}
back={<p>A durable advantage that keeps competitors out, like a castle's moat.</p>}
frontLabel="Question"
backLabel="Answer"
/>Interactive(2)
Compare
Interactiveall intensitiesA side-by-side comparison panel with colored headers and an optional badge.
Lower upfront cost. Flexible terms. Easy to change.
Better long-term value. Full ownership. No recurring fees.
Lower upfront cost. Flexible terms. Easy to change.
Better long-term value. Full ownership. No recurring fees.
Props
MDX snippet
<Compare
leftTitle="Option A"
rightTitle="Option B"
leftColor="blue"
rightColor="emerald"
badge="VS"
>
<div>Lower upfront cost. Flexible terms. Easy to change.</div>
<div>Better long-term value. Full ownership. No recurring fees.</div>
</Compare>Timeline
Interactiveall intensitiesAn interactive timeline of milestones. Click through them as a carousel, or open the panoramic view to see every milestone on a horizon line with horizontal scrolling.
Props
MDX snippet
<Timeline title="Age of Exploration">
<Milestone date="1492" title="Columbus reaches the Americas">
Sailing west for a route to Asia, Columbus made landfall in the Bahamas.
</Milestone>
<Milestone date="1498" title="Da Gama reaches India">
Vasco da Gama opened the sea route from Europe to India around Africa.
</Milestone>
</Timeline>Academic(5)
Formula
Academicall intensitiesA centered display equation rendered with KaTeX. Pass LaTeX via the tex prop. Use InlineFormula for math inside a sentence.
Props
MDX snippet
<Formula tex="x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}" label="The quadratic formula" />InlineFormula
Academicall intensitiesInline math typeset with KaTeX, sized to flow within a paragraph of text.
Euler's identity, , links five fundamental constants.
Props
MDX snippet
Euler's identity, <InlineFormula tex="e^{i\pi} + 1 = 0" />, is elegant.FormulaCard
Academicall intensitiesA notebook-paper card presenting a formula with a 'where:' legend explaining each variable โ ideal for teaching derivations.
Props
MDX snippet
<FormulaCard
title="Newton's second law"
tex="F = ma"
where={[{ symbol: "F", desc: "net force (N)" }, { symbol: "m", desc: "mass (kg)" }, { symbol: "a", desc: "acceleration (m/sยฒ)" }]}
/>ChemEquation
Academicall intensitiesA chemical equation rendered with KaTeX's mhchem extension โ handles reaction arrows, subscripts, and state symbols.
Props
MDX snippet
<ChemEquation tex="CO2 + H2O <=> H2CO3" caption="Carbonic acid equilibrium" />Quantity
Academicall intensitiesA physical quantity with value, optional uncertainty, and units โ typeset so exponents and symbols look right.
Gravitational acceleration at sea level is .
Props
MDX snippet
<Quantity value="9.81" unit="m/s^2" uncertainty="0.02" />Content(5)
Callout
Contentall intensitiesA highlighted callout box for tips, warnings, insights, or important notices.
Props
MDX snippet
<Callout type="tip">
This is a callout that draws the reader's attention to something worth remembering.
</Callout>Highlight
Contentall intensitiesAn inline text highlight with multiple colors and optional underline styling.
This sentence contains a highlighted phrase that draws the reader's eye to something important.
Props
MDX snippet
<Highlight color="yellow" underline={false}>
highlighted phrase
</Highlight>Term
Contentall intensitiesAn inline term with a tooltip definition, great for vocabulary in educational articles.
Every great company has a moatmoatA durable competitive advantage that protects a business from rivals. that keeps competitors at bay and protects long-term profits.
Props
MDX snippet
<Term label="moat" definition="A durable competitive advantage that protects a business from rivals.">
moat
</Term>KeyStat
Contentall intensitiesAn emphasized inline statistic or number that makes key data points pop.
The company achieved a return on equity of 42% last year, outpacing the industry average.
Props
MDX snippet
The company achieved <KeyStat>42%</KeyStat> growth last year.CircleNum
Contentall intensitiesA circled number for step sequences, footnotes, or ordered lists with style.
1Step description or list item text goes here.
Props
MDX snippet
<CircleNum n={1} filled={false} />Layout(4)
TwoCol
Layoutall intensitiesA responsive two-column grid layout for side-by-side content blocks.
First block of content in the two-column layout.
Second block of content alongside the first.
Props
MDX snippet
<TwoCol>
<div>First block of content in the two-column layout.</div>
<div>Second block of content alongside the first.</div>
</TwoCol>Ruled
Layoutall intensitiesRuled notebook paper styling with optional left margin line for body text.
This text sits on ruled notebook paper. The horizontal lines and red margin give it that classic school notebook feel.
Props
MDX snippet
<Ruled margin={true} lineColor="blue">
This text sits on ruled notebook paper. The horizontal lines and red margin give it that classic school notebook feel.
</Ruled>SketchDivider
Layoutall intensitiesA hand-drawn style horizontal divider with an optional center label.
Props
MDX snippet
<SketchDivider label="* * *" />Squiggle
Layoutall intensitiesAn inline squiggly underline effect applied to text, like a hand-drawn emphasis.
This sentence contains a squiggly underline for creative emphasis.
Props
MDX snippet
<Squiggle color="primary">squiggly underline</Squiggle>