Every article component in one place — asides, quotes, stats, timelines, cards, comparison tables, steps, notes, and more.
This article exists to test every shortcode and auto-transform available in the blog system. Each section below demonstrates a different component with realistic content.
Pull-out asides float left or right and let body text wrap around them. They’re useful for definitions, supporting facts, or anything that enriches the main text without interrupting it.
An aside like this works well for a supporting fact, a definition, or a brief clarification that doesn’t fit naturally in the main flow.
The aside shortcode accepts left or right as the direction. The content sits in a bordered pull-out box beside the main text. On narrower screens both variants collapse to full-width blocks above the paragraph they accompany.
Speed isn’t a technical metric — it’s the first thing a visitor experiences. Every second of delay is a fraction of trust lost before you’ve even said hello.
Pull quotes use the same left/right syntax but render with a large decorative open-quote mark. Use them to highlight a single strong sentence from the article — something worth reading on its own.
Note blocks have a large display-font word at the top that acts as a label — TIP, WARNING, NOTE, REMINDER — followed by the body text below.
TIP
A clear call to action above the fold consistently outperforms one buried at the bottom. Move your primary CTA to the first screen and measure the difference over two weeks.
The word at the top is styled in the display font at full size. It makes the note immediately scannable even when a reader is moving quickly through the article.
Stats put a single number front and centre. The number is stacked above the label on a dark background, making it impossible to miss.
73%
of users judge a business’s credibility based on its website design — Nielsen Norman Group
Left variant — floats left, prose wraps right:
4.2s
average page load time for small business websites on mobile — Google CrUX data
This paragraph wraps to the right of the floated stat. The number sits to the left at a smaller size than the default, giving the figure prominence without dominating the full column. Use this when the number is supporting evidence for a point in the body text rather than a standalone headline.
Right variant — floats right, prose wraps left:
94
median PageSpeed Insights score achievable with a correctly optimised Astro build
This paragraph wraps to the left of the right-floated stat. Both variants collapse to full-width on narrow screens, identical to the aside and pull quote components. The label below the number provides the source or context the figure alone can’t carry.
A lightweight inline callout for a quick surprising fact, counterintuitive finding, or piece of context that adds value without needing a full section.
Did you know?
Google started using mobile-first indexing in 2019, meaning it predominantly uses the mobile version of your site for ranking and indexing — even for desktop searches.
The takeaway box is for the single most important point in a section. If a reader skims and remembers only one thing, this should be it.
Key takeaway
Good web design is not about how a site looks — it’s about whether it reliably turns visitors into enquiries. Aesthetics serve that goal; they don’t replace it.
Any standalone image with alt text is automatically wrapped in a figure with a caption. Use an empty alt to suppress the caption.
Floated images sit beside body text. Left-float:
This paragraph wraps around the left-floated image. The image sits to the left with the text flowing naturally to its right. On mobile the float collapses and the image goes full-width above this paragraph. Keep floated images to roughly 44% width of the content column to leave enough room for comfortable reading alongside the text.
Right-float for variety:
Right-floated images work well when the preceding paragraph introduces something on the right, drawing the eye naturally. As with left-floats, the image collapses to full-width on small screens. Text should be long enough to fill the space beside the image — short paragraphs with floats look awkward.
Wide images break out past the column margins for a more editorial feel:
Cards convert a bullet list into a grid. Use bold text as the card title, followed by the description.
Load time
Reduced from 4.2 seconds to under 0.9 seconds across every tested page
Mobile score
PageSpeed Insights score up from 42 to 94 within the first week of launch
Bounce rate
Down from 68% to 31% — measured at six weeks post-launch
Enquiries
Monthly form completions increased from an average of 4 to 15
Place <compare="."> on the line before a markdown table to apply comparison styling. The first column is the feature label, the second is the “before” state, the third is the “after” state.
| Metric | Before | After |
|---|---|---|
| Page load time | 4.2s | 0.8s |
| Mobile PageSpeed | 42 / 100 | 94 / 100 |
| Monthly enquiries | 3–5 | 12–18 |
| Bounce rate | 68% | 31% |
| Google ranking | Page 3 | Page 1 |
Steps take a numbered list and add large decorative counters. Use bold for the step title, followed by a short description.
The default <timeline="."> makes a vertical left-aligned timeline. Use bold for the date or milestone label.
<timeline="h"> lays events across a horizontal axis. Best for short milestones or process stages where all items are roughly equal in importance.
<timeline="d"> alternates items left and right of a central spine for a more editorial, magazine-like feel.
Marginalia float into the right-hand margin on wide screens and collapse inline on mobile. They work well for citations, clarifying asides, or a handwritten commentary voice that sits alongside but separate from the main argument.
Use them sparingly — one or two per article at most. The handwritten style creates an informal, editorial register that contrasts well with the mono labels and display headings elsewhere on the page.
<cards-layered="."> renders the same card grid as <cards="."> but adds a stacked paper shadow beneath each card that lifts on hover, giving the impression of physical depth.
Discovery
Goals, constraints, and competitive landscape review — understanding your customers before touching a pixel.
Strategy
Structure, content priorities, and conversion goals. Every design decision traces back here.
<code-box="LABEL | content"> renders a terminal-style callout with macOS traffic-light dots, a mono header label, and monospaced body text on a dark background.
Use these for configuration snippets, CLI commands, or any technical content that benefits from a clearly distinct visual register.
<split="WORD | body text"> pairs one enormous display word with a body paragraph. Useful for section openers or pull-out emphasis.
Every second of delay costs you visitors. At lode.red, performance is a design constraint — not an afterthought.
<gallery="."> turns a list of src | caption items into a horizontally scrolling image strip with snap points.
<columns="."> wraps list items into a two-column magazine layout — useful for dense reference content or feature comparisons.
Astro compiles to zero JavaScript by default, shipping only the HTML and CSS your page actually needs. No runtime overhead, no framework bundle.
Core Web Vitals are a set of three metrics — LCP, CLS, and INP — that Google uses as a ranking signal for mobile search results.
A well-structured sitemap and clean internal linking are the foundation of crawlability. Without them, even excellent content may not rank.
Page load time is the single biggest factor in bounce rate for mobile users. A one-second delay reduces conversions by an average of 7%.
The CTA block links to /#contact. The button text is the third pipe-separated value; the first two are the title and description.
Ready to act on this?
Want to see what this looks like for your site?
A 30-minute conversation is usually enough to identify the two or three changes that would move the needle most. No obligation.
Enjoyed the article? We'll design a custom mockup of your website — no commitment, no cost.