The visit · §5.11
Wait estimate block
An honest usual range, the "most people" line and what it is based on.
Code
<EstimateBlock data={estimate} lang={lang} now={now} t={t} timezone={site.timezone} />Accessibility
- The range stays on one line and is read as words ("40 minutes to 1 hour").
- The range bar is decorative; the sentence carries the meaning.
Usage
Do
- Usual range plus the "most people" line plus the basis.
- Round to 5 minutes.
Don't
- Never a countdown, seconds, or "up to".
- Never red for patients, even past the usual range.
Platforms
- Web
- apps/web/components/edflow/estimate-block.tsx
- iOS
- SwiftUI VStack, numericMd monospaced digits
- Android
- Compose Column with Text styles from the type scale