Dot Queue
For waitlists, ticket drops, support chats and generation queues. You stand in the line in the accent; when it moves, the one at the counter goes in through the light and the rest shuffle up one after another, front first. The wait is worked out from how fast the line has really been moving, and if it stops moving it says so instead of showing a stale guess.
Needs: None. One canvas. Pass your position as it changes.
Customize
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| position | number | required | Your place: 1 is next, 0 is your turn. |
| onReady | () => void | – | Called once when it's your turn. |
| tone | string | – | Your figure's colour. The page's accent by default. |
| light | string | "#ffcf7a" | The doorway's light. |
| pitch | number | 3 | Size of one dot, px. |
| className | string | – | Class on the queue. |
| style | CSSProperties | – | Style on the queue. |