Aller au contenu

Ce que dessine le moteur de rendu web

Chaque bloc ci-dessous est dessiné en direct à partir de ses données d'exemple, suivies des propriétés qu'il accepte. Les deux proviennent des définitions de blocs du moteur de rendu, de sorte que cette page évolue avec le code.

Barre d'étapes

From a sentence to running software.

  1. 1

    Describe

    what the business needs

    You
  2. 2

    Set up

    once

    Once
  3. 3

    Run

    every day

PropTypeCe qu'elle contient
eyebrowtextA short line above the heading.
headingtextThe section's heading.
ledetextA sentence under the heading.
stepslist, max 5obligatoireTwo to five steps, numbered in this order.
steps[].icontextA lucide icon name, such as `sparkles`, or an image of the site's assets, `assets/<file>`.
steps[].titletextobligatoireThe step's name.
steps[].texttextA line under the name.
steps[].tagtextA short label, such as who does the step.
steps[].tag_tonetext: accent, plain`accent` marks the tag; `plain` is the default.

Étape de flux

3

It goes live by itself.

Automatic
PropTypeCe qu'elle contient
numbernumberobligatoireThe step's place in the flow.
headingtextobligatoireThe step's heading.
bodytextA sentence under the heading.
tagtextA short label, such as who does the step.
tag_tonetext: accent, plain`accent` marks the tag; `plain` is the default.
figurevariant: form, status, pathWhat the step shows, drawn by its `kind`; without it the step draws its head only.
figure(form).titletextobligatoireThe record's kind, such as `Order`.
figure(form).reftextThe record's number.
figure(form).fieldslist, max 6Its fields, two by two.
figure(form).fields[].labeltextobligatoireThe field's name.
figure(form).fields[].valuetextobligatoireWhat it holds.
figure(form).statestexts, max 6Its states in order.
figure(form).currenttextThe state marked as current.
figure(status).layouttext: stack, row`row` lays the rows out side by side from a medium screen up; `stack` is the default.
figure(status).rowslist, max 6obligatoireWhat is set up, one row each.
figure(status).rows[].labeltextobligatoireWhat the row is, such as `App`.
figure(status).rows[].valuetextobligatoireIts value.
figure(status).rows[].notetextA line beside the value.
figure(status).rows[].stagestexts, max 6The stages the row went through.
figure(path).headingtextA line above the path.
figure(path).stagestexts, max 6obligatoireThe stages in order.
figure(path).currenttextThe stage the runner reaches; the first when left out.
figure(path).updateobjectA note under the path.
figure(path).update.headingtextobligatoireThe note's heading.
figure(path).update.texttextA line under it.
figure(path).update.countnumberHow many small marks stand for whom it reaches.
figure(path).update.icontextA lucide icon name, or an image of the site's assets, `assets/<file>`.

Fonctionnalité d'écran

Everything your app needs, included.

includedWith every app.

Your app

  • In all your languages
  • Light and dark
PropTypeCe qu'elle contient
icontextA lucide icon name or an image of the site's assets, `assets/<file>`, in the head's tile.
headingtextobligatoireThe section's heading.
ledetextA sentence under the heading.
badgetextA short accent label on a line of its own, such as `included`.
badge_notetextA line beside the badge.
titletextThe card's title.
texttextA line under the card's title.
link_labeltextA text button beside the card's title that opens `link_shot` large.
link_shotobjectThe screenshot `link_label` opens.
link_shot.lighttextobligatoireThe image in light mode, and in both modes without a `dark` twin.
link_shot.darktextIts twin in dark mode.
link_shot.alttextobligatoireWhat the image shows, for a reader who cannot see it.
link_shot.paperflagA printed page: one image, the same in both modes, drawn whole.
screenslist, max 2obligatoireOne or two screenshots: a desktop one, and a phone beside it.
screens[].lighttextobligatoireThe image in light mode, and in both modes without a `dark` twin.
screens[].darktextIts twin in dark mode.
screens[].alttextobligatoireWhat the image shows, for a reader who cannot see it.
screens[].paperflagA printed page: one image, the same in both modes, drawn whole.
screens[].labeltextA short label on the image, such as `Phone`.
screens[].frametext: desktop, phone`phone` draws it in a phone's frame; `desktop` is the default.
pointstexts, max 6Short points under the screens.

Hub

The core

The engine

Reads what was built and serves it.

One core feeds them all.

  • App
  • Websites
  • Reports
PropTypeCe qu'elle contient
labeltextA short line above the heading.
headingtextobligatoireThe core's name.
bodytextA line under the heading.
coretextA lucide icon name or an image of the site's assets, `assets/<file>`, drawn between the arrows.
notetextA line above the outputs.
outputstexts, max 6obligatoireWhat the core feeds, one to six, in order.

Cartes d'aperçu

WebsitesPages, menu and forms.
Reports

Reminders and imports, finished even after an interruption.

JobsDone in the background.
PropTypeCe qu'elle contient
eyebrowtextA short line above the heading.
headingtextThe section's heading.
ledetextA sentence under the heading.
cardslist, max 4obligatoireOne to four cards, in a row from wide screens up.
cards[].titletextobligatoireThe card's name.
cards[].texttextA line under the name.
cards[].shotslist, max 2None, one or two screenshots on top of the card, side by side.
cards[].shots[].lighttextobligatoireThe image in light mode, and in both modes without a `dark` twin.
cards[].shots[].darktextIts twin in dark mode.
cards[].shots[].alttextobligatoireWhat the image shows, for a reader who cannot see it.
cards[].shots[].paperflagA printed page: one image, the same in both modes, drawn whole.
cards[].icontextWithout a screenshot: a lucide icon name or an image of the site's assets, `assets/<file>`, on top of the card.
cards[].icon_texttextWithout a screenshot: a sentence under that icon.

Sections repliables

For engineers

What an app is made of
Order.entity.jsonorder.ts
ArtefactWhat it does
entity JSONThe records and their fields
PropTypeCe qu'elle contient
eyebrowtextA short line above the heading.
headingtextThe section's heading.
ledetextA sentence under the heading.
itemslist, max 8obligatoireThe panels, closed until a reader opens one.
items[].summarytextobligatoireThe panel's line, which opens it.
items[].chipslist, max 16Short labels, such as file names.
items[].chips[].labeltextobligatoireThe chip's text.
items[].chips[].tonenumber1 to 6: one of six marks from the theme's accent, so chips of one kind match; 1 when left out.
items[].headtexts, max 2The table's column heads, one or two; a missing second one stays empty.
items[].rowslist, max 16The table's rows.
items[].rows[].labeltextobligatoireThe left cell.
items[].rows[].valuetextobligatoireThe right cell.

Pile

The products

Lending

disponible

Loans and returns.

Shop

bientôt
PropTypeCe qu'elle contient
eyebrowtextA short line above the heading.
headingtextThe section's heading.
ledetextA sentence under the heading.
itemslistobligatoireThe products; one with neither a title nor a lockup is left out.
items[].titletextThe product's name, where no lockup draws it.
items[].lockupobjectThe product's name as a family lockup, such as `family ● product`.
items[].lockup.familytextThe family's word.
items[].lockup.producttextThe product's word.
items[].statustext: available, early_access, comingHow available the product is today.
items[].bodytextA sentence under the name.
items[].hreftextWhere the card's link leads; drawn only with `link_label`.
items[].link_labeltextThe link's text.

Comparaison

Before and after

LoansBeforeOn paperAfterIn the app
PropTypeCe qu'elle contient
eyebrowtextA short line above the heading.
headingtextThe section's heading.
ledetextA sentence under the heading.
columnstexts, max 2obligatoireThe two columns' heads; without both nothing is drawn.
rowslistobligatoireThe rows; one without an aspect is left out.
rows[].aspecttextobligatoireWhat the row compares.
rows[].atextThe first column's cell.
rows[].btextThe second column's cell.

Liste de contrôle

What you need

  • An IDany official one
  • An address
PropTypeCe qu'elle contient
eyebrowtextA short line above the heading.
headingtextThe section's heading.
itemslistobligatoireThe points; one without `what` is left out.
items[].whattextobligatoireThe point.
items[].notetextA line beside it.

Signaux

In short

  • Free
  • Open six days
  • In the town centre
PropTypeCe qu'elle contient
eyebrowtextA short line above the heading.
itemstextsobligatoireThe short claims, one per line.
notetextA small line under them.

Héros

Describe it. The AI builds the app.

Three steps.

PropTypeCe qu'elle contient
eyebrowtextA short line above the heading.
headingtextobligatoireThe page's headline; without it the hero draws nothing.
ledetextA sentence under the heading.
accenttextThe part of the heading drawn in the accent; a part the heading does not hold is not drawn so.
aligntext: start, center`center` centres the text and the actions; `start` is the default.
sizetext: normal, small`small` sets the heading in text-page-heading; `normal` keeps the larger hero heading. The lede is unchanged.
questiontextA line above the actions.
primaryobjectThe main call to action. Without `label`, or without `href` and the sheet, none is drawn.
primary.labeltextobligatoireThe button's text.
primary.hreftextWhere it leads: a path of the site, which takes the page's language, an address, or `mailto:`.
primary.actiontext: sheet`sheet` opens the site's contact sheet instead of `href`.
primary.notetextA line beside the button, such as the mail address it writes to.
secondaryobjectA second, quieter call to action. Without `label`, or without `href` and the sheet, none is drawn.
secondary.labeltextobligatoireThe button's text.
secondary.hreftextWhere it leads: a path of the site, which takes the page's language, an address, or `mailto:`.
secondary.actiontext: sheet`sheet` opens the site's contact sheet instead of `href`.
secondary.notetextA line beside the button, such as the mail address it writes to.
notetextA small line under the actions.
figuretext: logo`logo` draws the site's own logo (the tenant's `logo` and `logo_dark` appearance images) beside the text in a second column; a site with no logo leaves the hero as text alone.
atmospheretext: none, data-rainWhat falls behind the hero; left out, the site's `hero_atmosphere`.
rainlist, max 5The rain's columns, drawn only under the block's own `atmosphere`.
rain[].tokenstextsThe words of one column, top to bottom.

Texte enrichi

Visit us

Open Monday to Saturday.

The reading room closes an hour earlier.

PropTypeCe qu'elle contient
eyebrowtextA short line above the heading.
headingtextThe section's heading.
ledetextA sentence under the heading.
bodytextThe text; an empty line starts a new paragraph.
rowslist, max 16Rows under the text, a label and its value each; a row without both is left out.
rows[].labeltextobligatoireThe left cell.
rows[].valuetextobligatoireThe right cell.
rows[].hreftextMakes the value a link: `https:`, `mailto:` or `tel:`; any other target leaves the value as text.
primaryobjectA call to action under the text. Without `label`, or without `href` and the sheet, none is drawn.
primary.labeltextobligatoireThe button's text.
primary.hreftextWhere it leads: a path of the site, which takes the page's language, an address, or `mailto:`.
primary.actiontext: sheet`sheet` opens the site's contact sheet instead of `href`.
primary.notetextA line beside the button, such as the mail address it writes to.
secondaryobjectA second, quieter call to action. Without `label`, or without `href` and the sheet, none is drawn.
secondary.labeltextobligatoireThe button's text.
secondary.hreftextWhere it leads: a path of the site, which takes the page's language, an address, or `mailto:`.
secondary.actiontext: sheet`sheet` opens the site's contact sheet instead of `href`.
secondary.notetextA line beside the button, such as the mail address it writes to.
notetextA small line under the actions.
aligntext: start, center`center` centres the text; `start` is the default.
sizetext: normal, small`small` sets the lede as a small aside; `normal` is the default.

Grille de fonctionnalités

What members get

Included

How long may I keep a book?

Three weeks

Every loan runs three weeks.

Reservations

PropTypeCe qu'elle contient
eyebrowtextA short line above the heading.
headingtextThe section's heading.
ledetextA sentence under the heading.
varianttext: grid, pillars, pipeline, segmentsHow the cards are laid out: `grid` (the default) draws two then three columns with an icon and a badge; `pillars` draws four columns for a count that divides by four, else three; `pipeline` draws an ordered list with an uppercase mono foot; `segments` draws a count of three or of a multiple of three in three columns, any other even count in two, with a sentence foot.
layouttext: joined`joined` draws the `pillars` and `pipeline` cards in one frame divided by hairlines; left out, each card stands alone.
notetextA small label at the side of the heading, in the `pillars`, `pipeline` and `segments` variants.
itemslistobligatoireThe cards; `pillars`, `pipeline` and `segments` leave out one without a title, `grid` draws it.
items[].icontextA lucide icon name, such as `sparkles`, or an image of the site's assets, `assets/<file>`.
items[].badgetextA short label at the top of the card, beside the icon.
items[].marktextA short mark above the title, such as `01`.
items[].questiontextA question line above the title.
items[].titletextobligatoireThe card's title.
items[].bodytextA sentence under the title.
items[].footertextA line at the card's foot, such as how long a stage takes or what a segment gains.

Statistiques

Books
12,000
Members
800
PropTypeCe qu'elle contient
itemslistobligatoireThe figures, up to four in a row on a wide screen.
items[].labeltextWhat the figure counts.
items[].valuetextThe figure.

Média

The reading room

The reading room

PropTypeCe qu'elle contient
imagetextThe image as a file id or `assets/<file>`; it wins over `src`.
srctextThe image's address.
alttextWhat the image shows, for a reader who cannot see it.
captiontextA line under the image.

Appel à l'action

See it live, with your own process.

We show live demos by appointment.

Book a live demohello@example.com
PropTypeCe qu'elle contient
headingtextobligatoireThe panel's heading; without it the panel draws nothing.
bodytextA line under the heading.
primaryobjectThe main call to action. Without `label`, or without `href` and the sheet, none is drawn.
primary.labeltextobligatoireThe button's text.
primary.hreftextWhere it leads: a path of the site, which takes the page's language, an address, or `mailto:`.
primary.actiontext: sheet`sheet` opens the site's contact sheet instead of `href`.
primary.notetextA line beside the button, such as the mail address it writes to.
secondaryobjectA second, quieter call to action. Without `label`, or without `href` and the sheet, none is drawn.
secondary.labeltextobligatoireThe button's text.
secondary.hreftextWhere it leads: a path of the site, which takes the page's language, an address, or `mailto:`.
secondary.actiontext: sheet`sheet` opens the site's contact sheet instead of `href`.
secondary.notetextA line beside the button, such as the mail address it writes to.
notetextA small line under the actions.
frametext: card, none`none` draws the panel without its card, border and glow; `card` is the default.
backgroundtextThe image inside the panel's border, in light mode and in both modes without a `background_dark` twin, as `assets/<file>`, a file id or an address; it replaces the glow.
background_darktextIts twin in dark mode.

Intégration

PropTypeCe qu'elle contient
srctextobligatoireThe address the frame shows, or a YouTube or Vimeo link; without it nothing is drawn.
titletextThe frame's title for a screen reader.

Code

One file

book.entity.jsonjson
{ "name": "Book" }
PropTypeCe qu'elle contient
codetextobligatoireThe code, as it is shown; without it nothing is drawn.
titletextA file name or title above the code.
languagetextThe language's name, shown as a badge.
formattext: diff`diff` draws the code as a patch: the added, removed and hunk lines in their own colours; left out, the code is drawn as it is.
headingtextThe section's heading.
introtextA sentence above the code.
captiontextA line under the code.

Coordonnées de contact

Find us

Town LibraryMain Street 11000 Towndesk@example.org
PropTypeCe qu'elle contient
headingtextThe section's heading.
bodytextA sentence under the heading.
addresstextsobligatoireThe postal address, one line each; without it nothing is drawn.
emailtextThe mail address; where it is the site's contact address, the form below does not repeat it.
phonetextThe phone number.
booking_urltextWhere the booking button leads; drawn only with `booking_label`.
booking_labeltextThe booking button's text.
formobjectThe texts of this form and of the contact sheet in every page's header; each one left out keeps the site's text.
form.titletextThe sheet's title.
form.headingtextThe heading above the form.
form.ledetextA sentence under it.
form.nametextThe name field's label.
form.emailtextThe mail field's label.
form.messagetextThe message field's label.
form.messagePlaceholdertextThe message field's hint; left empty, the field has none.
form.sendtextThe send button's text.

Liste d'applications

PropTypeCe qu'elle contient
eyebrowtextA short line above the heading.
headingtextThe section's heading.
ledetextA sentence under the heading.

Sélecteur de couches

How an order moves through the shop.

Switch between the layers.

PropTypeCe qu'elle contient
eyebrowtextA short line above the heading.
headingtextThe section's heading.
ledetextA sentence under the heading.
layerslist, max 6obligatoireThe layers a visitor switches between, one tab each; the first shows first.
layers[].labeltextobligatoireThe tab's text.
layers[].paneslist, max 2obligatoireOne or two panes the layer shows side by side.
layers[].panes[].eyebrowtextA short line above the pane's title.
layers[].panes[].titletextobligatoireThe pane's title.
layers[].panes[].pillstexts, max 6The steps of a flow, drawn as pills in this order.
layers[].panes[].currenttextThe pill marked as the current step, by its text; without it no pill is marked.
layers[].panes[].rowslist, max 6obligatoireThe pane's rows, each a label and its status.
layers[].panes[].rows[].labeltextobligatoireWhat the row is about.
layers[].panes[].rows[].statustextobligatoireThe row's status, on its right.
layers[].panes[].rows[].status_tonetext: accent, success, plain`accent` marks the status in the theme's accent, `success` in the theme's success color; `plain` is the default.

Vidéo

How an order moves through the shop.

With voiceover and subtitles.

PropTypeCe qu'elle contient
eyebrowtextA short line above the heading.
headingtextThe section's heading.
ledetextA sentence under the heading.
lighttextobligatoireThe video for a light page, as a file id, an `assets/` name, a path starting with `/`, or a YouTube or Vimeo link; without it the block draws nothing. A link plays on every page, so `dark`, `voiceover` and `cues` stay empty with it.
darktextThe video for a dark page and a dark band, as a file id, an `assets/` name or a path starting with `/`, never a link; without it `light` plays there too.
voiceovertextThe spoken track in the page's language, as a file id, an `assets/` name or a path starting with `/`. It plays in step with the video once the visitor turns the sound on with the block's sound button, and never before.
cueslist, max 32The subtitle lines, each shown from `start` to `end` (seconds of the video), its words lighting up in order.
cues[].startnumberobligatoireThe second the line starts.
cues[].endnumberobligatoireThe second the line ends.
cues[].texttextobligatoireThe spoken line.
captiontextA line under the video.