Steps
A sequence everyone goes through in order, every step in view, ending on the result.
When to use it: For how it works, a first visit or a project's phases. Things that happen in no order are features.
Example
Your first hour at the clinic
What happens at a first assessment, and what you leave with.
Book a time
Choose a physio and a time online; a text reminds you the day before.
Talk it through
How it started and what makes it worse. Wear shorts or loose clothes.
Tests and treatment
Your physio checks how you move, then starts treating it.
Leave with a plan
Exercises on your phone, how many sessions it should take, and a receipt for your insurer.
Your first invoice from code, in five minutes
One package, one call, and the invoice is on its way.
Install
The client for Node, with its types.
npm install @northwind/nodeSend an invoice
One call with the client's email and the lines.
await northwind.invoices.send({ to: "accounts@brightwater.example", lines: [{ what: "Brand refresh", amount: 2400 }], });It is on its way
The invoice comes back sent, with the link your client pays from.
{ "id": "inv_0048", "status": "sent", "total": 2400, "pay_url": "https://pay.northwind.example/inv_0048" }
Eight weeks from first call to files
A brand identity, phase by phase. The next project can start in March.
First call
What the brand must do and for whom; you get a written plan and a fixed price.
Discovery
Workshops with your team and five customer interviews. Your part: two half-days.
Design
Two directions, then one refined with your feedback every Friday.
Files and guide
The logo, type and colours, with a guide and every file your printer and developers need.
Guidelines
- Shape each section from its content: as many items as there are, in the layout their relation needs (a sequence numbered, a comparison in a table, peers side by side), so neighbouring sections differ when their content differs.
anti.layout-from-content - Say what the product does in plain, specific words, and show only evidence you can stand behind: numbers with what they measured, quotes and logos from real people and customers who agreed.
anti.specific-claims - Give each page one h1 and step heading levels down one at a time (h2, then h3).
type.heading-order
Add it to your project
It’s included in turtlekit.css and the turtlekit package: install it.
Your AI will also copy only this component, and what it needs, into your project. That comes with Turtlekit Pro, opening soon. Hear when it opens.
In detail
A sequence everyone goes through in order, every step in view, as an ordered list numbered once by the list: how it works from the first action to the result, a first visit, an order on its way, a project's phases. items, two to five, each a title, one description line, meta (the one fact only this business could state: how long, when, where, what it costs) and media (the real thing at that moment: a picture of the product's screen, a CodeBlock, a Media photo). The last step is the result and leads: its number filled, and in a row its media two tracks wide. layout auto lays the steps side by side where the list's own width holds them (about 14rem a track of words, 18rem of views; more steps than fit stay one under another), titles, lines, facts and views level across the row, and one under another below it, each view beside its words from 36rem; timeline keeps them one under another and draws each step's duration (a number in one unit for every step) to scale, beside its title from 36rem and under its words below. headingLevel sets the titles' level (default 3). Not for things that happen in no order (features, options, ways to help), and not a progress indicator; nothing in it moves.
Styles: css/steps.css.
How it’s built
The engineering patterns inside Steps, each explained in Turtlekit Editorial.
Variant pattern
layout is a closed set (auto or timeline); the width a row needs comes from the count, as a data attribute.
Partial rendering
description, meta, media and the timeline's bar render only when given; a step can be just a title.
Deriving state
The result (the last step), the row's width and the timeline's scale are derived from items during render; nothing is stored.