Onboarding / TonePro
Onboarding / Tone, step 3 of 4: the assistant's name (checked, with a counter), tone (Friendly, Neutral, Formal), reply length (Short, Balanced, Detailed) and Hand over to a person with an address. The preview's test chat re-types its reply in the new voice and shows who it hands over to.
oxyn add onboarding-toneHow should your assistant sound?
Give it a name, a voice and a person to pass hard questions to.
Tone
Reply length
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
- Step 3 of 4: how the assistant sounds: its name, tone, reply length and the person it passes hard questions to.
When not to use
- Mail folders with counts and labels beside a message list: use Inbox sidebar instead.
- The app frame: use App shell instead.
- An assistant docked beside a page: use AI side panel instead.
Installation
Onboarding / Tone 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 onboarding-toneUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Sample
Sample data, the dashboard preview as an inset panel.
How should your assistant sound?
Give it a name, a voice and a person to pass hard questions to.
Tone
Reply length
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Flat
The same step with the preview edge to edge.
How should your assistant sound?
Give it a name, a voice and a person to pass hard questions to.
Tone
Reply length
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Loading
Skeletons in the form and the preview.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Empty
A first visit: nothing filled in, Continue explains what is missing.
How should your assistant sound?
Give it a name, a voice and a person to pass hard questions to.
Tone
Reply length
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Testing
The test chat typing its reply in the chosen voice.
How should your assistant sound?
Give it a name, a voice and a person to pass hard questions to.
Tone
Reply length
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
X1
Oxyn: each step named under its dash; done steps can be revisited.
How should your assistant sound?
Give it a name, a voice and a person to pass hard questions to.
Tone
Reply length
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
X2
Oxyn: the form alone, centred, without the preview.
How should your assistant sound?
Give it a name, a voice and a person to pass hard questions to.
Tone
Reply length
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Tab | Name, tone, length, handover switch and address, Continue |
| Space | Turn the handover on or off |
Accessibility
- The steps are an ordered list; the current one has aria-current=step and each is named “Step n of 4: …”.
- Fields have labels; a problem sets aria-invalid and shows its message as an alert beside the field.
- Colour, mark, tone and length are radiogroups; the handover is a switch.
- The preview is decorative (aria-hidden); everything it shows is also in the form. Every action reports in a polite live region.
Responsive behaviour
- Authored on the 1440 × 900 canvas: a 720 px form column and a 720 px preview.
- Under 960 px the preview leaves the page and opens over the form from Preview in the top bar.
- Under 620 px the signed-in address hides, marks go two by two and the summary tightens.
Edge cases (spec)
Authored on the 1440 × 900 stage (rule R1) and scaled to its column; the full view (/screens/onboarding-tone/full) renders at the real viewport with the state bar under it (R2). Under 960 px the preview leaves the page and opens over the form from Preview in the top bar (with Close). Under 620 px the signed-in address hides, marks go two by two and summary rows tighten. Labels ellipsise in flex children with min-width 0 (R5); scripts/ovl.py finds no text overlap at 1440, 768 and 390 in light and dark.
Notes for AI
- Import
OnboardingToneScreenfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
OnboardingToneElinoxyn_gpui. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.