All posts
Web Design · 22 Jun 2026 · 5 min read

Component Showcase

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.


Asides and pull quotes

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

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

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.


Did you know

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.


Key takeaway

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.


Images with captions

Any standalone image with alt text is automatically wrapped in a figure with a caption. Use an empty alt to suppress the caption.

A mock PageSpeed Insights performance score showing 90+ on mobile — the target for Core Web Vitals
A mock PageSpeed Insights performance score showing 90+ on mobile — the target for Core Web Vitals

Floated images sit beside body text. Left-float:

PageSpeed mobile score after optimisation
PageSpeed mobile score after optimisation

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:

The same score, floated right for comparison
The same score, floated right for comparison

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:

Full-width: the score gauge at maximum column width
Full-width: the score gauge at maximum column width

Cards

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


Comparison table

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.

MetricBeforeAfter
Page load time4.2s0.8s
Mobile PageSpeed42 / 10094 / 100
Monthly enquiries3–512–18
Bounce rate68%31%
Google rankingPage 3Page 1

Steps

Steps take a numbered list and add large decorative counters. Use bold for the step title, followed by a short description.

  1. Discovery A single session to understand your business, your customers, and what success actually looks like for this project.
  2. Strategy We define the structure, the content priorities, and the conversion goals before a single pixel is drawn.
  3. Design Wireframes first, then visual design. Every decision ties back to the goals from strategy.
  4. Build Development in Astro or a CMS, depending on your content workflow. Performance is non-negotiable.
  5. Launch QA, cross-browser testing, and a go-live checklist. We stay on hand for the first 48 hours.

Vertical timeline

The default <timeline="."> makes a vertical left-aligned timeline. Use bold for the date or milestone label.

2019
Founded as a freelance studio, taking on small business sites across Essex
2021
First full web rebuild for a local service business — a plumbing company that tripled online enquiries in three months
2023
Expanded focus to local SEO and Core Web Vitals performance work
2025
Launched lode.red as a dedicated local business web studio

Horizontal timeline

<timeline="h"> lays events across a horizontal axis. Best for short milestones or process stages where all items are roughly equal in importance.

Discovery
Goals and constraints
Design
Wireframes and visuals
Build
Development and content
QA
Testing and review
Launch
Go live

Alt timeline

<timeline="d"> alternates items left and right of a central spine for a more editorial, magazine-like feel.

2019
Started freelancing — first clients were local tradespeople and retailers across the Brentwood area
2021
First major commercial build — a 40-page site for a regional law firm with a 6-week turnaround
2023
Took on a full rebrand and rebuild for a chartered surveying practice, including the first local SEO campaign
2025
Launched lode.red with a focused offer: high-performance, high-converting websites for local businesses

Marginalia

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.


Layered cards

<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

<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.

robots.txt
User-agent: * Disallow: /admin/ Allow: / Sitemap: /sitemap.xml

Use these for configuration snippets, CLI commands, or any technical content that benefits from a clearly distinct visual register.


Split typography

<split="WORD | body text"> pairs one enormous display word with a body paragraph. Useful for section openers or pull-out emphasis.

Speed

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.


Multi-column text

<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%.


CTA block

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.

Book a conversation