Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA status lozenge that opens a menu of only the transitions the workflow allows from the current state, with the others hidden rather than disabled.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use this when status changes follow rules (a state machine) and showing impossible options would only lead to errors.
Do not use it when any status can be set at any time (use Inline Edit Status Picker).
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Required | Description |
|---|---|---|---|
states | WorkflowState[] | required | - |
current | string | required | - |
onTransition | (to: string) => void | Promise<void> | required | - |
The pattern ships with a Testing Library test (status-lozenge-transition-menu.test.tsx) that covers allowed states only, transitioning, the final state and keyboard opening.