Skip to content
Back

Gooey composerPro

A composer whose attach drop-up and model menu both pour out of its top edge above their buttons – the shared gooey motion on a real prompt box.

oxyn add gooey-composer
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

  • Put the gooey menu motion on a real prompt box: both menus pour out of the box's top edge above their buttons.

When not to use

Installation

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

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

Attach open

The + menu spans the composer and joins its top edge with a liquid neck above the button.

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

Model open

The model menu, lined up with its chip.

  • 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

Type, add files from + (each becomes a chip), change the model and send.

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

GooeyComposer

PropTypeDefaultDescription
goof327.0Goo strength (blur px).
default_modelusize1Starting model index.
default_openStringDefault::default()Start with this menu open: `attach`, `model` or empty.
on_sendEventHandler<String>—The prompt was sent (its text).

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
TabMessage, +, model, send
↑or↓ onor the model chipOpens that menu
EscapeCloses the open menu

Accessibility

  • Both triggers report aria-expanded; the menus follow the menu and listbox patterns with aria-activedescendant.
  • Opening one menu closes the other; a press outside closes either.

Responsive behaviour

  • Up to 560 px; the + menu takes the composer's width, the model menu 268 px.
Edge cases (spec)

The + menu takes the box's width; the + menu shows all eight rows (scrolls past 360 px), the model menu scrolls past 300 px.

Notes for AI

  • Import GooeyComposer from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: GooeyComposerEl 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