Gooey model menuPro
A model chip whose list – each model with its maker's mark – pours out of its corner like liquid; the chosen name blurs into the chip.
oxyn add gooey-model-menu- AutoPicks per task
- ClaudeCareful writing and code
- GPTQuick everyday answers
- GeminiLong files and video
- DeepSeekLow cost reasoning
- QwenMany languages
- MistralSmall and fast
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
- A model picker with the same liquid motion, anchored to the chip's right edge.
When not to use
- A composer whose attach drop-up and model menu both pour out of its top edge above their buttons: use Gooey composer instead.
- A + button whose drop-up: use Gooey attach menu instead.
- An Oxyn original: use Liquid tabs instead.
Installation
Gooey model menu 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 gooey-model-menuUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Open
Models with their makers' marks and a one-line hint; the chosen one is checked.
- AutoPicks per task
- ClaudeCareful writing and code
- GPTQuick everyday answers
- GeminiLong files and video
- DeepSeekLow cost reasoning
- QwenMany languages
- MistralSmall and fast
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Closed
Press the chip: the list pours out of its right corner; a pick blurs the new name into the chip.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
No goo
Goo at 0: the same swell and cascade without the liquid neck.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
GooeyModelMenu
| Prop | Type | Default | Description |
|---|---|---|---|
models | Option<Vec<GooItem>> | Default::default() | Models (the default set when `None`). |
default_model | usize | 1 | Starting model index. |
side | String | "up" | `up` or `down`. |
goo | f32 | 7.0 | Goo strength (blur px). |
default_open | bool | Default::default() | Starts open (for previews). |
on_change | EventHandler<String> | — | A model was picked (its key). |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| EnterorSpaceor↑or↓ on the chip | Opens the list on the chosen model |
| ↑or↓ · HomeorEnd · Enter | Move and pick |
| Escape | Closes and returns to the chip |
Accessibility
- The chip has aria-haspopup=listbox; rows are options with aria-selected.
- Each maker's mark is decoration; the name is the label.
Responsive behaviour
- 268 px list, lined up with the chip's right edge.
Edge cases (spec)
268 px list.
Notes for AI
- Import
GooeyModelMenufromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
GooeyModelMenuElinoxyn_gpui. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.