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- Add
- From
- PDFRead and cite
- ImagePNG, JPG or a screenshot
- ExcelSheets and CSV
- DocWord documents
- SlidesDecks to summarise
- CodeA file from the repo
- DrivePick from your drive
- GitHubIssues, PRs and files
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
- 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
- A + button whose drop-up: use Gooey attach menu instead.
- A model chip whose list: use Gooey model menu instead.
- An Oxyn original: use Liquid tabs instead.
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.
oxyn add gooey-composerUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Attach open
The + menu spans the composer and joins its top edge with a liquid neck above the button.
- Add
- From
- PDFRead and cite
- ImagePNG, JPG or a screenshot
- ExcelSheets and CSV
- DocWord documents
- SlidesDecks to summarise
- CodeA file from the repo
- DrivePick from your drive
- GitHubIssues, PRs and files
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
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 preview is free. Pro opens the code of every Pro component, screen and template.
Closed
Type, add files from + (each becomes a chip), change the model and send.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
GooeyComposer
| Prop | Type | Default | Description |
|---|---|---|---|
goo | f32 | 7.0 | Goo strength (blur px). |
default_model | usize | 1 | Starting model index. |
default_open | String | Default::default() | Start with this menu open: `attach`, `model` or empty. |
on_send | EventHandler<String> | — | The prompt was sent (its text). |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Tab | Message, +, model, send |
| ↑or↓ onor the model chip | Opens that menu |
| Escape | Closes 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
GooeyComposerfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
GooeyComposerElinoxyn_gpui. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.