ReferenceComponents

Component catalog

The forty-two blocks, what each is for, and which page explains it.

An assistant message is an ordered array of blocks. Every block carries type, a required fallback_text of 1 to 300 characters, and typed props.

The catalog holds forty-two types. Forty of them the model may emit through the render_ui tool. The other two are drawn by our servers alone: confirm_card, synthesized from your action manifest so a hallucination cannot misstate what a user is approving, and action_done, the line a write that runs with an Undo leaves in the answer.

Both SDKs render all forty-two natively. Each block's page names the version that first drew it, and a build that does not declare a block is never offered it.

Every block

Every block the SDK draws, on one page. Pick a theme from the console's starting palettes. A block with layouts of its own (products, the order tracker) has them under its name, which opens its reference page.

Answer

The blocks that only have to answer.

Order 1042 left the Rotterdam depot this morning and is out for delivery. The courier gives a 14:00 to 18:00 window.

text

Plain prose, and the only block that streams.

Free returns within 30 daysUnworn shoes in the original box can go back at any pickup point.
Start a return
info_card

Icon, title, body and one optional action.

Returns policyUnworn shoes can be returned within 30 days for a full refund. Refunds land within 5 business days.
Shipping & returns FAQ
article_card

A retrieved passage with its source named.

Only two pairs left in size 44Trail Circuit restocks in about three weeks.
status_banner

A success, info, warning or error notice.

Why this oneWhat matters most in the first weeks.
section

A heading for the blocks after it, on an answer page.

  • Size 43 in stockReady to ship from Rotterdam today.
  • Free deliveryAt your door on Thursday, no minimum.
  • 30-day returnsEven after a run or two.
key_points

A few points, each an icon, a title and a line: the reasons behind a pick.

SoftFor beginners43 in stock
tags

A few words that characterise one thing at a glance.

What is the return window?30 days from delivery, unworn, in the box.
Who pays for the return?
How long does a refund take?
disclosure

Secondary detail folded under titles: FAQs, terms, technical notes.

Neon Kicks KadıköyBağdat Cd. 312, Kadıköy · 1.2 kmOpen now · until 21:00 · ★ 4.6
DirectionsCall
place_card

A place the user can go to: open now, how far, and the way there.

map

Places on a map: stores nearby, a route, where the courier is.

Boarding passIST → BER · TK 1723
GateB12Seat14CBoards09:40
pass

Something the user shows: a ticket, a boarding pass, a pickup code, a coupon.

bashCopy
curl -H 'X-Rendel-Key: rd_pk_test_…' \
  https://api.rendel.ai/health
code

Code, a command or log lines, monospaced, with a copy button.

Returning a pair1Start the return in your ordersOpen the order, choose the pair and say why.2Print the label, or show the QR codeWe email both.3Hand the parcel in within 14 daysAny store or a parcel locker.
steps

Instructions read in order: numbered steps on a rail, with nothing to tick.

15%offOuterwearOrders over $120Ends SundayRAIN15FreedeliveryExpress deliveryOrders over $80Until 30 NovApplied at checkout
offers

The coupons and campaigns a person holds, a ticket each, with a code to copy.

Choose

Options the user can act on without typing a word.

Track order 1042Size guideStart a return
quick_replies

Up to six suggestion chips. Each tap sends a reply.

Aero Glide 2, size 43Order 1042 · out for delivery
$129
Court Low, size 42Order 1039 · delivered 12 Aug
$95
Trail Circuit, size 44Order 1017 · delivered 2 Jul
$149
item_list

Tappable rows with a thumbnail and a trailing value.

Best sellerAero Glide 2Volt / white★★★★★★★★★★4.7 (1,284)$129
Court LowBone leather★★★★★★★★★★4.2 (96)$95
Trail CircuitSlate / moss$149
product_cards

One product card, or a rail of them.

Fitting at Neon Kicks AmsterdamWed 2 Sep
10:0011:3013:0015:00
Thu 3 Sep
09:3013:00
datetime_slots

Tappable availability, grouped by day.

Size
41424344
44 is sold out.
variant_picker

One choice out of a set that differs by size, colour or capacity.

Which items are you returning?
Aero Glide 243 · VoltCourt Low42 · BoneRunning socks, 3 pairsM
Return 2 items
choice

A question the user answers by tapping: one pick, or several.

Aero Glide 2$129Trail Circuit$149
Weight248 g296 g
Drop8 mm6 mm
Waterproof—
Highlighted: the best in its row.
comparison

Two to four things on the same rows, read side by side.

Act

Where the user commits: typed input, and the approval our servers build.

Start a return
Order number1042
ReasonChoose one
Pickup dateOptionalPick a day
Send
form

Typed fields and one submit, returned as a form submission.

Gait analysis and fittingNeon Kicks Amsterdam, Haarlemmerstraat 24
Wednesday 2 September, 10:00 to 10:45
Fitting room 2, ground floor
FitterMeral Doğan
BookingFIT-2291
Confirm the fitting
booking_card

A reservation summary: what, when, where, its reference.

Add to cartChoose a size
actions

One or two buttons for what to do about the thing on screen.

Order #4821Orders › OrderChange deliveryOrders › Delivery
screens

Screens of your app to open from the answer, from the routes you registered.

Talk to our support teamThey can change an order that has already shipped.Call +90 850 222 00 00Email help@kicks.exampleWeekdays 9:00–18:00
contact

How to reach a person at your company, with the channels you listed.

How was your delivery?★★★★☆
rating

Your app's own question about how something went, answered with a tap.

Unplug the modem for 30 secondsCheck the DSL light is steadyRestart your phone's Wi-Fi
checklist

Steps the user ticks off themselves.

Your cartAero Glide 2Size 43 · Volt$129−1+Running socks3 pairs · M$36−2+Subtotal$165Review order · $165
cart

A basket the user changes in place: a stepper on each line, a subtotal that follows.

This cannot be undoneCancel order 1042 and refund $129 to the original card?
Order1042
Refund$129.00
Refund toCardStore credit
Cancel orderGo back
confirm_card

Server-built approval for a write or destructive action.

Added INNER GOODNESS Oat Milk 1L to your cartUndo
action_done

One line saying what a reversible change did, with Undo.

Report

Numbers, money and state, laid out to be read at a glance.

Spent$1,284+18% vs Jul
Orders9+2 vs Jul
Saved$96Same as Jul
stat_group

Up to six KPIs with optional deltas.

Orders a month4in Aug, the most this year
chart

Line, area, bar, horizontal bar, stacked bar or donut, up to three series.

EU
40
41
42
43
UK
6.5
7
8
9
US men
7.5
8
9
10
Foot length
25.0 cm
25.7 cm
26.3 cm
27.0 cm
table

Up to six columns and twenty rows, first column sticky.

Order 1042Out for delivery
  1. Ordered22 Aug, 09:14
  2. Packed in Rotterdam23 Aug, 17:02
  3. Out for delivery26 Aug, 07:40
  4. Delivered
order_tracker

A step timeline with done, current and pending.

Order 1042USD
Aero Glide 2, size 43$129.00
KICKS10 discount−$12.90
Subtotal$116.10
Tax$5.00
Total$121.10
receipt

Line items, subtotal, tax and total.

Order 1042
Placed21 Aug
ItemsAero Glide 2, size 43
StatusShipped
key_value

Label-and-value rows: the facts about one thing.

Kicks Club
Pairs toward a free pair2 of 5
Resets every calendar year.
progress

Value against a limit, when the proportion is the answer.

Tomorrow09:30PhysicsRoom 20411:00Linear algebraHall B14:15Study groupLibrary, 3rd floor
timeline

Planned things in time order: an agenda, an itinerary, a schedule.

AE 417 · Aerlune35 min lateIST14:55 14:20Istanbul3 h 10 minFRA16:05Frankfurt
Terminal1GateB14Seat14C
journey

A trip's legs: where from, where to, when, and what changed.

UV index now7HighLowExtreme
gauge

One reading on a scale of named bands, drawn as a half dial.

At a glance

ComponentWhat it is for
textPlain prose, and the only block that streams.
info_cardIcon, title, body and one optional action.
media_galleryAn image grid or a carousel.
article_cardA retrieved passage with its source named.
status_bannerA success, info, warning or error notice.
sectionA heading for the blocks after it, on an answer page.
key_pointsA few points, each an icon, a title and a line: the reasons behind a pick.
tagsA few words that characterise one thing at a glance.
disclosureSecondary detail folded under titles: FAQs, terms, technical notes.
place_cardA place the user can go to: open now, how far, and the way there.
mapPlaces on a map: stores nearby, a route, where the courier is.
passSomething the user shows: a ticket, a boarding pass, a pickup code, a coupon.
codeCode, a command or log lines, monospaced, with a copy button.
stepsInstructions read in order: numbered steps on a rail, with nothing to tick.
offersThe coupons and campaigns a person holds, a ticket each, with a code to copy.
quick_repliesUp to six suggestion chips. Each tap sends a reply.
item_listTappable rows with a thumbnail and a trailing value.
product_cardsOne product card, or a rail of them.
datetime_slotsTappable availability, grouped by day.
variant_pickerOne choice out of a set that differs by size, colour or capacity.
choiceA question the user answers by tapping: one pick, or several.
comparisonTwo to four things on the same rows, read side by side.
formTyped fields and one submit, returned as a form submission.
booking_cardA reservation summary: what, when, where, its reference.
actionsOne or two buttons for what to do about the thing on screen.
screensScreens of your app to open from the answer, from the routes you registered.
contactHow to reach a person at your company, with the channels you listed.
ratingYour app's own question about how something went, answered with a tap.
checklistSteps the user ticks off themselves.
cartA basket the user changes in place: a stepper on each line, a subtotal that follows.
confirm_cardServer-built approval for a write or destructive action.
action_doneOne line saying what a reversible change did, with Undo.
stat_groupUp to six KPIs with optional deltas.
chartLine, area, bar, horizontal bar, stacked bar or donut, up to three series.
tableUp to six columns and twenty rows, first column sticky.
order_trackerA step timeline with done, current and pending.
receiptLine items, subtotal, tax and total.
key_valueLabel-and-value rows: the facts about one thing.
progressValue against a limit, when the proportion is the answer.
timelinePlanned things in time order: an agenda, an itinerary, a schedule.
journeyA trip's legs: where from, where to, when, and what changed.
gaugeOne reading on a scale of named bands, drawn as a half dial.

Actions

Interactive props carry a closed union, and the SDK executes nothing outside it. Each SDK declares the kinds it carries out, and a block carrying any other kind is drawn as its fallback_text rather than as a button that does nothing.

KindWhat it doesSince
replyPosts its text as if the user had typed it.all builds
open_urlOpened in an in-app browser, or handed to your RendelConfig.onOpenUrl when you set one. https only. With external: true it opens in the operating system's maps app. This is allowed only for Apple Maps and Google Maps links (maps.apple.com, maps.google.com, google.com/maps); a block with any other external link is drawn as its fallback_text.all builds
navigateOpens a screen of your app through a route you registered with registerRoute, and shrinks Rendel into a bubble. See screens.Flutter 0.38 · Web 0.15
callOpens the dialler with the number filled in; the call is the user's to make.Flutter 0.40 · Web 0.17
copyPuts a value on the clipboard.Flutter 0.40 · Web 0.17
add_to_calendarOpens the device's own event editor, filled in; the user saves it.Flutter 0.40 · Web 0.17
confirm / cancelLegal on confirm_card alone, never in model output.
app_actionNot legal in block props: an action of your app runs only through the tool interface, where the server can put a confirmation in front of a write.

A navigate's route and params, a call's number, a copied value and a calendar event's times are checked by the server before the block leaves: each has to come from your app — a route you registered, a field one of your actions returned in the conversation, or (for a copy) a value the same block shows. A calendar or copy button that fails loses the button and the block stays; any other block that fails is drawn as its fallback_text. The same rule covers what a user acts on in the world. A place_card's address, phone and coordinates, a map's pins, and a pass's code and wallet links must come from your actions' results. Every channel in a contact block must be one of your console's Contact channels (Settings › Reaching a person › Contact channels).

Version safety

On every request the SDK declares the components it can draw and the action kinds it can carry out. The server offers the model only that intersection: a build is never sent a component it did not declare, and a block carrying a tap kind the build cannot carry out is drawn as its fallback_text. A component name the server does not know is ignored rather than refused, so a newer SDK talking to an older server loses that one block and nothing else. Unknown types render their fallback_text.

Before 1.0 a prop can still change in place, and the changelog marks each time as Breaking: plan_comparison left the catalog in Flutter 0.36.0 / Web 0.13.0, and slot and option actions gave way to selection by id in 0.37.0 / 0.14.0. A new value in an existing prop (a chart kind, a form field kind) still reaches an older build, which draws its nearest fallback, so check the block's page for the version that draws it. The handshake already accepts a version per component ("form@2"; a bare name is version 1). No block has a version 2 yet; that is how later breaking changes will be gated per build.

Replacing a renderer

Flutter only; the web SDK draws the catalog as it is.

ComponentRegistry.register(type, builder) swaps the widget used for a catalog type, so you can draw product_cards with your own card and keep the rest. Register before the first Rendel.open.

ComponentRegistry.register('product_cards', (context, block, dispatch) {
  return MyProductRail(props: block.props, onTap: dispatch.onAction);
});

A replacement for a block that asks the user to pick calls dispatch.onSelect (variant_picker, datetime_slots) or dispatch.onChoose (choice) instead of onAction, a form calls dispatch.onSubmitForm, and a rating calls dispatch.onRate.

The SDK exports the primitives the built-ins are made of (RendelPressable, RendelActionButton, RendelChip, RendelControlShell, RendelOverline, RendelSwap, RendelPulse), so a replacement presses, encloses and breathes like the rest of the catalog instead of like stock Material.

The handshake declares catalog types only, so registering a type that is not in the catalog does not expose a new component to the model. Host-defined component types are a later release.

About the previews

The block images on these pages are re-renders, not screenshots. They are built from the renderer's own scales: the RendelTypeScale, RendelSpaceScale and RendelRadiusScale defaults documented in Theming, a field for a readout and an edge for a question, and the accent only on what you can act on. You can recognise a widget when you meet it, but they are drawn in the browser and cannot show you the real thing on a real device.

For that, run the component gallery in the Neon Kicks example app: it renders every block through the real registry with realistic fixtures, and has a switch for the light and dark token maps.

cd sdk/flutter/rendel/example && flutter run