AI feature launchPro
A what's-new card for an AI capability: a tiny animated preview sits over a three part walkthrough that autoplays until you take over, three benefits per step, a workspace switch only admins can turn on, and Try it now.
oxyn add ai-feature-launchRewrite inline
Select any text and ask for a shorter, clearer or friendlier version without leaving the page.
- Works in docs, comments and replies
- Keeps your formatting and links
- Undo puts the original back
Off · members can't use it yet
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
- An in-product launch card for an AI feature: a looping mini demo, a three-step tour, benefits, an admin-gated workspace switch and Try it now.
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
AI feature launch 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 ai-feature-launchUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Tour
Autoplaying tour, admin.
Rewrite inline
Select any text and ask for a shorter, clearer or friendlier version without leaving the page.
- Works in docs, comments and replies
- Keeps your formatting and links
- Undo puts the original back
Off · members can't use it yet
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Member
Member: the switch is locked with a note (Oxyn extra).
Rewrite inline
Select any text and ask for a shorter, clearer or friendlier version without leaving the page.
- Works in docs, comments and replies
- Keeps your formatting and links
- Undo puts the original back
Only admins can turn this on. Ask an admin.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Enabled
On for the workspace, tour paused (Oxyn extra).
Rewrite inline
Select any text and ask for a shorter, clearer or friendlier version without leaving the page.
- Works in docs, comments and replies
- Keeps your formatting and links
- Undo puts the original back
On for everyone in Northwind
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
AiFeatureLaunch
| Prop | Type | Default | Description |
|---|---|---|---|
nowrequired | ClockMs | — | Host clock. |
admin | bool | true | You are a workspace admin. |
enabled | bool | Default::default() | Already on for the workspace. |
auto_play | bool | true | Autoplay the tour. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| ←or→orHomeorEnd | On the dots, change step and stop autoplay |
| Space | Toggle the workspace switch; again while saving cancels |
| Tab | The active dot, the switch, Learn more and Try it now |
Accessibility
- The dots are a tablist with roving focus; the demo is decorative and hidden from screen readers.
- The switch says who can change it; saving, cancelling and every simulated action are announced.
From the spec
Dots are a tablist with roving arrow keys, Home and End; the demo is decorative and hidden; the switch is named and its note says who can change it; every simulated action is announced. Every action returns the line the polite live region announces. The focus outline shows only for keyboard focus.
Motion & interaction
The demo types its request, then shows the result and a check; the active dot fills as its step plays; benefits fade in with each step.
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 |
|---|---|---|
| Step | 6,000 ms (STEP_MS) | linear |
| Typing | 45 ms a character | linear |
| Saving | 1,200 ms (SAVE_MS) | — |
Reduced motion: fades, shimmer and count-ups stop; every state keeps its words and icons.
Responsive behaviour
- Up to 520 px; on cards under 440 px both buttons stretch across and the model credit moves to its own centred line.
Edge cases (spec)
Up to 520 px. Below 440 px of block width the actions span the width and the model credit centres under them; demo lines truncate with an ellipsis. 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
AiFeatureLaunchfromoxyn_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.