Skip to content

ChoiceTiles

Picture tiles picking one or many values; options show image and description.

Group: Inputs · Kind: native

example
type · single
type · multiple
disabled · true

Open in the playground

The same specimen painted by React, SwiftUI, Compose and gpui.

exponential-ui-choice-tiles on Web
exponential-ui-choice-tiles on iOS
exponential-ui-choice-tiles on Android
exponential-ui-choice-tiles on Desktop
Prop Type Required Bindable Description
name string yes – The field’s key in the submitted data.
options [option] yes – The choices in order.
type single | multiple – – One pick or several. Default "single".
value string – yes The pick (comma-joined when multiple); bind it.
columns number – – Tiles per row. Default 2.
disabled boolean – – Inert. Default false.
checks [check] – – Validation rules.
  • on.change: runs an action

None.

none

No basic catalog component maps here.

A native component: every renderer paints it directly.

Role: radiogroup

radiogroup of radio tiles (single) or a group of checkbox tiles (multiple); the picture is decorative, the label names the tile

Keys Action
– Roving tab stop on the picked tile (the first when none)
ArrowRight ArrowLeft ArrowDown ArrowUp move focus (wraps); single: picks
Space Enter toggle the focused tile

Recipe parts: ChoiceTiles/root ChoiceTiles/tile ChoiceTiles/picture ChoiceTiles/label ChoiceTiles/description

Keyed by: type columns :hover :pressed :focus :disabled :checked :open :selected :invalid :dragover

Themes · Write a theme

Form · FieldGroup · FormActions · Input · Textarea · NumberField · Checkbox · Radio