Skip to content

Plan

A plan card: steps to approve, then progress and Stop.

Group: Lists · Kind: macro · in the lite catalog

state · proposed
Here's my planI'll use your mouse and keyboard for about two minutes.
Open augustiner-keller.de in Safari
Reserve Fri 20:00 for 4
Mail the confirmation to Lisa
state · running
Working on it · step 2 of 4Hands off the mouse for a moment. Esc stops me.
Open augustiner-keller.de in Safari
Reserve Fri 20:00 for 4
Mail the confirmation to Lisa
Add it to your calendar

Open in the playground

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

exponential-ui-plan on Web
exponential-ui-plan on iOS
exponential-ui-plan on Android
exponential-ui-plan on Desktop
state · done
Here's my planI'll use your mouse and keyboard for about two minutes.
Open augustiner-keller.de in Safari
Reserve Fri 20:00 for 4
Mail the confirmation to Lisa
state · declined
Here's my planI'll use your mouse and keyboard for about two minutes.
Open augustiner-keller.de in Safari
Reserve Fri 20:00 for 4
Mail the confirmation to Lisa
Prop Type Required Bindable Description
title string yes yes The plan’s heading.
description string – yes A muted line under it.
steps [planStep] – – The steps.
state proposed | running | done | declined – yes proposed asks, running shows progress. Default "proposed".
progress number – yes 0 to 1.
approveLabel string – – Button text. Default "$string.yes".
declineLabel string – – Button text. Default "$string.no".
stopLabel string – – Button text. Default "$string.stop".
  • on.approve: runs an action
  • on.decline: runs an action
  • on.stop: runs an action

None.

none

No basic catalog component maps here.

Box · Button · Card · Heading · Progress · Text · Trace · TraceItem

Role: group

group labelled by title; the steps are TraceItem lines; the progress bar is a progressbar

Keys Action
– Tab reaches Decline, Approve (proposed) or Stop (running)

Recipe parts: Plan/root Plan/card Plan/header Plan/title Plan/description Plan/steps Plan/step Plan/footer Plan/decline Plan/approve Plan/running Plan/progress Plan/stop

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

Themes · Write a theme

Button · Card · Heading · Progress · Text · Trace · TraceItem · Section