Skip to content
Back

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-tone
Logged in as rowan@kestrel.example

How should your assistant sound?

Give it a name, a voice and a person to pass hard questions to.

24/40

Tone

Reply length

When it can't answer for sure

The code is part of Oxyn Pro

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.

Get Pro

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.

Terminal
oxyn add onboarding-tone

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

Sample

Sample data, the dashboard preview as an inset panel.

Logged in as rowan@kestrel.example

How should your assistant sound?

Give it a name, a voice and a person to pass hard questions to.

24/40

Tone

Reply length

When it can't answer for sure

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Flat

The same step with the preview edge to edge.

Logged in as rowan@kestrel.example

How should your assistant sound?

Give it a name, a voice and a person to pass hard questions to.

24/40

Tone

Reply length

When it can't answer for sure

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Loading

Skeletons in the form and the preview.

Logged in as rowan@kestrel.example

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Empty

A first visit: nothing filled in, Continue explains what is missing.

Logged in as rowan@kestrel.example

How should your assistant sound?

Give it a name, a voice and a person to pass hard questions to.

0/40

Tone

Reply length

When it can't answer for sure

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Testing

The test chat typing its reply in the chosen voice.

Logged in as rowan@kestrel.example

How should your assistant sound?

Give it a name, a voice and a person to pass hard questions to.

24/40

Tone

Reply length

When it can't answer for sure

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

X1

Oxyn: each step named under its dash; done steps can be revisited.

Logged in as rowan@kestrel.example

How should your assistant sound?

Give it a name, a voice and a person to pass hard questions to.

24/40

Tone

Reply length

When it can't answer for sure

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

X2

Oxyn: the form alone, centred, without the preview.

Logged in as rowan@kestrel.example

How should your assistant sound?

Give it a name, a voice and a person to pass hard questions to.

24/40

Tone

Reply length

When it can't answer for sure

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
TabName, tone, length, handover switch and address, Continue
SpaceTurn 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 OnboardingToneScreen from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: OnboardingToneEl in oxyn_gpui.
  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI