KB-227 · CONTACT/ROUTING/DESK
Routing Desk Contact
Contact as a routing desk: say why you are writing first, and the desk answers with who will read it and how fast — the expectation stated before the message is asked for, not promised after. The route picker is the library's own segmented control; each route swaps in only the fields it actually needs.
Install
One command — the source lands in your repo. Or copy it from the Code tab.
$ pnpm dlx shadcn@latest add @kinetiq/contact-routing-desk
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| routes | DeskRoute[] | — | Label, desk, response expectation, and an optional extra field per route. |
| onSubmit | (routeId, fields) => void | — | Fired with the route and its fields. |