Alpha: Ships on npm at 7.0.0-alpha.07.0.0-alpha.0

Choosing a Section type

From what a part of the page must show to the Section type that shows it, with the neighbor to use when the job is a little different.

Start from what the reader must take away from that part of the page, never from a layout. Find the job in the left column, then read the neighbor beside it: two types often do nearly the same job, and the difference decides.

Then fit the counts. Each Section type holds the counts it was drawn at, and the schema refuses others; Why the design holds lists them. When no type fits, the job belongs on another page, or it is a request for a new Section type.

Navigation

I need to show…UseUse instead when it is…
The bar at the top of a page: brand, links, one call to action and a menu that needs no script.navNo neighbor does this job.
The foot of a page: brand and blurb, link columns and a ruled note row.footerNo neighbor does this job.

Heroes

I need to show…UseUse instead when it is…
The opening of a page: headline, lede, actions, fine print and an optional preview window.hero
One claim on its own, set large, with one phrase in the accent.statement
  • the claim is a number: stats
A plain page heading: a title and one line, with no actions.page-head
  • the page opens with a claim and actions: hero

Proof

I need to show…UseUse instead when it is…
A band of three or four big numbers with captions, ruled between cells.stats
  • labels and values a reader decides on: facts
Labels and values a buyer decides on, as one ruled list.facts
  • three or four big numbers: stats

Features

I need to show…UseUse instead when it is…
A section head over a hairline grid of two, three, four, six or eight cells.feature-grid
Copy with exactly three features beside one preview window.feature-split
Two to four panels, each a claim with its own preview, laid out from their count.bento
Two columns side by side: what the old way costs and what this one gives.compare
Copy beside a numbered list of three to five steps.steps
Copy beside a column of ruled, titled paragraphs.text-stack
  • the paragraphs run in order: steps
  • each paragraph answers a question: faq

Code and prompts

I need to show…UseUse instead when it is…
The code window: dark in every Theme and scheme, plain or tabbed.terminal
One command to copy, with a note beneath it.command-row
One API call beside its answer, a JSON response or an event stream.api-call
An API at a glance: one ruled row per route, with its method, path and job.endpoints
The prompt a reader pastes into a coding agent, copied in one action.agent-prompt

Offer

I need to show…UseUse instead when it is…
One to four plans under a section head, one of them featured.pricing
Plans as one ruled comparison table: a row per plan, a column per fact.plan-table
  • one to four plans to choose from: pricing

Questions and calls

I need to show…UseUse instead when it is…
A heading beside questions that open in place, every one closed at first.faq
The final call of a page: a head, then buttons or one command, never both.closing
Copy beside a short form: a plain post, answered with no script.cta-form
  • the call is a button or a command: closing

Reading

I need to show…UseUse instead when it is…
A reading page: an optional head and share bar, then the body as prose.article
A blog index: a head, then the posts as ruled rows.post-list

Directory

I need to show…UseUse instead when it is…
A listing page header in a directory: mark, name, one sentence, category and tags.product-head
  • a product landing, not a listing: hero
A directory list: one linked row per listing, as a list or as Tiles.product-list

Where each type appears

JobSection typeCarried by
Brand and links up topnavevery Template
Links and notes at the footfooterevery Template
Open the page with one claimheroapi-product, blog, directory-list
One claim, set largestatementarticle, blog
A plain page titlepage-headarticle, directory-list
Three or four figuresstatsapi-product, blog, directory-list
Labels and valuesfactsarticle, contact, directory-product
Features as a ruled gridfeature-gridapi-product, article, blog, directory-product
Three features beside a previewfeature-splitapi-product
Claims, each with a previewbentoapi-product, article, directory-product
The old way against this onecompareapi-product
How it works, in orderstepsapi-product, article, contact
Titled paragraphs beside copytext-stackapi-product, article, blog, directory-product
Code or a sessionterminalapi-product, article
One command to copycommand-rowapi-product, article, blog, directory-product
A request beside its answerapi-callapi-product, directory-product
Every route at a glanceendpointsapi-product, directory-product
A prompt to pasteagent-promptapi-product, article, directory-product
Plans to choose frompricingapi-product, contact, directory-product
Plans compared fact by factplan-tableapi-product, directory-product
Questions that open in placefaqapi-product, contact, directory-product
The last call to actclosingapi-product, article, blog, directory-list, post
A short form to sendcta-formcontact
A page of prosearticlearticle, post
Posts as ruled rowspost-listblog
A listing headerproduct-headdirectory-product
Listings as linked rowsproduct-listarticle, directory-list

On this page