Website blocks you can copy, theme and hand to an AI builder

Sections made from plain HTML and CSS. No JavaScript, no dependencies, no build step. Colours, fonts and shape are variables, so a theme is one small file.

Tool

Palette builder

Pick one signature colour and get a full theme: six colours and every token the blocks need, checked for contrast.

Guide

Fonts and icons

Six font pairings to try, and how to download Google Fonts and icons and host them yourself.

Navigation

The bar at the top of every page and the footer at the bottom.

Opening

The first thing a visitor sees on a page.

Opening

Page title

The opening for an inner page: a large heading with the accent bar under it and one lead sentence, on the plain page background.

Opening

Hero with proof

A dark opening section: one clear headline, one sentence of explanation, two buttons and three numbers that back the claim up.

Opening

Page banner

A dark full-width banner for inner pages: page title, one sentence and a button over a gradient (or a photo). Left-aligned by default, centred with a modifier.

Structure

Titles that organise a page into sections.

Structure

Section header

The standard title for any section: a heading with a short accent bar under it, an intro line and an optional button that links to the full list.

Explain

Say what you do, how it works and what to expect.

Explain

Feature rows

A two-column list of short points, each with a line icon, a heading and one or two sentences, separated by thin rules.

Explain

Split feature

Text on one side and a picture or mock-up on the other, with a label, a heading, two short paragraphs and buttons. It stacks on a phone.

Explain

Numbered columns

A rounded tinted panel holding three numbered columns, each with an accent rule across the top, a number, a heading and a short paragraph.

Explain

FAQ accordion

Questions and answers in native details elements. No JavaScript. It opens and closes smoothly in browsers that support it and still works in those that do not.

Explain

Checklist panel

A heading and intro beside a ticked checklist in a bordered card, with a short highlighted note underneath. Stacks on a phone.

Explain

Service cards

A grid of six whole-card links, each with a coloured icon tile, a title, a short description and a 'Learn more' cue. Two columns on tablet, three on desktop.

Proof

Show the work, the people and the results.

Proof

Case-study panels

Four tall dark panels on a dark band. Each panel is one whole link: a small label and a title. A swipe rail on phones, a four-column grid on desktop.

Proof

Dated ledger

A short list of current work as dated rows on a tinted band. Each row has a date, a live status pill, a title and a sentence. The rows lift on hover.

Proof

Showcase box

A rounded, tinted box holding a short description beside a browser-frame mock-up. Built for the top of a project or product page.

Proof

Rating strip

A compact trust bar: gold stars, a score, how many reviews it is based on and a link to read them. Sits in a rounded tinted box, in one row on desktop.

Proof

Quote columns

Four short, plain quotes side by side with no card around them. Each has a round initials badge, a name and a one-line detail, with a thin accent rule on top.

Proof

Testimonial rail

A sideways scroll-snap row of review cards, each with a star rating, a quote and a named author. Three across on desktop, one with the next peeking in on a phone.

Content

Long-form reading, notes, quotes and pictures.

Content

Facts card

A small tinted card with a titled list of key facts, each with an icon, a label and one line of detail. Made for the side of a case study or project page.

Content

Article body

Readable long-form text: a lead paragraph, headings, lists, a pull quote, a table and a code sample, set on a comfortable line length.

Content

Callout

A tinted note with a coloured edge and a short heading. A cool version for tips and a warm version for warnings.

Content

Featured guide with list

One large featured guide beside a stack of smaller guides with square pictures, on a champagne band.

Content

Photo rail

A full-width sideways strip of photo tiles with short captions. Gradient tiles stand in until you add pictures. Swipe or scroll on any screen, with the strip bleeding off the page edge.

Content

Pull quote

One large serif quotation centred on a full-width dark band, with a short attribution under a small accent rule.

Content

Review form

A client review form with a CSS-only star rating (a radio group that fills left to right), text fields, a consent tick and a submit button, inside a bordered card.

Articles

Blog and guide layouts, from the index to the end of an article.

Articles

Article cards

A grid of article cards, each with a picture, a date, a title and a summary, plus a row of topic pills above it. Three columns on desktop, one on a phone.

Articles

Article with sidebar

A reading layout: a narrow article column with a sticky sidebar holding a search box, a topic list and a few recent posts. The sidebar drops below the article on tablets and phones.

Articles

Numbered index

A plain list of articles as numbered rows separated by hairlines: number, serif title with a summary line, and a category with reading time. Each row is one whole link.

Commerce

Prices and plans.

Commerce

Pricing cards

Three centred price cards on a tinted band. The middle card is featured in the accent colour with a badge, and each card has a native show/hide list of what is included.

Travel

Picture-led layouts for places, guides and stories.

Travel

Fact panel

A dark rounded panel of four key facts. Each is a small label over a large serif value.

Travel

Photo filmstrip

A sideways rail of tall pictures with captions that snaps card by card. Scrolls with touch, trackpad or the keyboard.

Travel

Picture list

A vertical list of cards, each with a square picture, a serif title and a one-line reason. A packing list, a gear list or a recommended-products list.

Travel

Photo spread

A big picture across the full width with a caption, followed by a pair of smaller pictures side by side.

Travel

Picture tiles

Large numbered tiles led by the picture, with an oversized serif name and a one-line description. Each tile is one whole link.

Motion

Shimmers, skeletons, tickers and scroll reveals. CSS only, and they stop for visitors who ask for less motion.

Motion

Marquee strip

A slow, endless sideways ticker of short items, such as client types, tools or keywords. It pauses when someone hovers or focuses it.

Motion

Scroll reveal cards

Cards that fade and rise into place one after another as they scroll into view. Pure CSS, using the browser's scroll-driven animations.

Motion

Shimmer headline

A large headline with a soft band of light that sweeps across the key words, and a button with the same shimmer.

Motion

Loading skeletons

Placeholder cards with a shimmer sweeping across grey shapes, the pattern used while content is loading.

Close

End the page with one clear action.

Close

Closing call to action

A full-width coloured band that closes a page: a question or promise on the left, the main action on the right.

How it works

Three steps, and none of them needs a build tool.

01

Add the CSS

Link blocks.css once. It holds the tokens, the base layer and all 42 blocks. Every class starts with blk-, so it never restyles the rest of your page.

02

Paste a block

Copy the HTML from any block page and replace the words. Blocks use no inline styles and no scripts, so they pass a strict Content-Security-Policy.

03

Pick a theme and fonts

Colours and shape are CSS variables, and so are the fonts. Add one theme file and one font pack, or build your own from a single colour, and every block follows.

Want a site built on blocks like these?

I help teams plan, build and ship websites, products and automation, using AI where it makes the work faster and safer.