Lead scoringPro
New sign-ups sorted by how well they fit, as judged by a model: every line carries a ring with the number, a Hot, Warm or Cold label and a short why; open one for its signals and weighted breakdown, and send it to HubSpot or Airtable.
oxyn add lead-scoringInbound leads
6 new · ranked by AI fit score
The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.
Rendered from Rust at build time · goes live when visible
When to use
- Inbound leads ranked by an AI fit score with a reason, the signals and breakdown behind it, and a push to the CRM.
When not to use
- Sit in on a crew of agents mid-run: use Live Session instead.
- One overview for a whole fleet: use Fleet overview instead.
- The fleet overview laid out against time: use Fleet timeline instead.
Installation
Lead scoring is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.
oxyn add lead-scoringUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Ranked
Ranked list, rings counting up.
Inbound leads
6 new · ranked by AI fit score
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Open
Top lead open with its breakdown (Oxyn extra).
Inbound leads
6 new · ranked by AI fit score
- Pricing page ×3SSOBudget this quarter
- Company fit38 / 40
- Intent32 / 35
- Engagement22 / 25
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Error
Push fails, with Retry (Oxyn extra).
Inbound leads
6 new · ranked by AI fit score
- Pricing page ×3SSOBudget this quarter
- Company fit38 / 40
- Intent32 / 35
- Engagement22 / 25
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
LeadScoring
| Prop | Type | Default | Description |
|---|---|---|---|
nowrequired | ClockMs | — | Host clock. |
intro | bool | true | Count the rings up on first view. |
fail | bool | Default::default() | The first push fails (error scenario). |
open | Option<usize> | Default::default() | Lead open at start. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| ↑or↓orHomeorEnd | Move between lead rows |
| EnterorSpace | Open or close the focused lead |
| ←or→ | In an open lead, switch the CRM |
Accessibility
- Rows are buttons named with company, person, score, tier and reason; rings are decorative.
- Rescoring, opening, the destination and pushes are announced, including that pushes are simulated.
From the spec
Rows are buttons named with company, person, score, tier and reason, with aria-expanded and aria-controls; Up and Down move between rows (roving tab stop), Enter or Space opens, Left and Right switch the CRM; rings are decorative. Every action returns the line the polite live region announces. The focus outline shows only for keyboard focus.
Motion & interaction
Rings count up over 900 ms and their stroke follows the score; tiers read Hot, Warm or Cold in words and colour; open rows fade in.
Timing
Everything on screen is derived from the host clock now (no timers in the block), so playback, tests and the GPUI view agree.
| Transition | Duration | Easing |
|---|---|---|
| Ring count-up | 900 ms (RING_MS) | ease-out |
| Push | 1,100 ms (PUSH_MS) | — |
Reduced motion: fades, shimmer and count-ups stop; every state keeps its words and icons.
Responsive behaviour
- 360 to 640 px; on narrow cards job titles are dropped and the send-to-CRM button spans the card.
Edge cases (spec)
Fits 360 to 640 px. Below 460 px of block width the role, arrival time and Rescore label leave the row, details start at the card edge and the push button fills the row. Names and reasons truncate with an ellipsis; scores keep fixed slots. Layout follows the block's own width (container queries), never the viewport. Checked at 1440, 768 and 390 px in light and dark with no text overlap. Chrome is monochrome grey; colour is semantic only (success, warning, danger, info) plus data series and the official coloured brand and model marks.
Notes for AI
- Import
LeadScoringfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
BlocksViewinoxyn_gpui. - Props to set first:
now. - It reads a clock (
now) for live timers; pass one clock for the whole page rather than one per component. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.