Skip to content
Back

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 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

  • 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.

Terminal
oxyn add gooey-model-menu

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

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 code is part of Oxyn Pro

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

Get Pro

Closed

Press the chip: the list pours out of its right corner; a pick blurs the new name into the chip.

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

No goo

Goo at 0: the same swell and cascade without the liquid neck.

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

GooeyModelMenu

PropTypeDefaultDescription
modelsOption<Vec<GooItem>>Default::default()Models (the default set when `None`).
default_modelusize1Starting model index.
sideString"up"`up` or `down`.
goof327.0Goo strength (blur px).
default_openboolDefault::default()Starts open (for previews).
on_changeEventHandler<String>—A model was picked (its key).

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
EnterorSpaceor↑or↓ on the chipOpens the list on the chosen model
↑or↓ · HomeorEnd · EnterMove and pick
EscapeCloses 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 GooeyModelMenu from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: GooeyModelMenuEl 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