Skip to content
Back

Liquid dropsPro

An Oxyn original: a round + button whose actions drip out one after another and flow back in when it closes.

oxyn add liquid-drops
Upload a file
Screenshot
Voice note
Paste a link
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 compact action launcher whose actions visibly come out of the button.

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.
  • A model chip whose list: use Gooey model menu instead.

Installation

Liquid drops 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 liquid-drops

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

Four actions resting above the button, labels beside them.

Upload a file
Screenshot
Voice note
Paste a link
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 button: each action drips out after the one before and pulls free.

Upload a file
Screenshot
Voice note
Paste a link
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

Tight

Drops closer together with heavy goo – they stay joined like a column of liquid.

Upload a file
Screenshot
Voice note
Paste a link
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

LiquidDrops

PropTypeDefaultDescription
actionsVec<(String, String)>vec![("file".to_string(), "Upload a file".to_string()), ("shot".to_string(), "Screenshot".to_string()), ("voice".to_string(), "Voice note".to_string()), ("link".to_string(), "Paste a link".to_string())]Actions: (key, label); icons by key (`file`, `shot`, `voice`, `link`).
gapf3254.0Gap between drops in px.
goof327.0Goo strength (blur px).
default_openboolDefault::default()Starts open (for previews).
on_pickEventHandler<String>—An action was picked (its key).

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
Enter on the buttonOpens or closes
TabEach action while open
EscapeCloses

Accessibility

  • The button reports aria-expanded; closed actions leave the tab order.
  • Each action is a button named by its label.

Responsive behaviour

  • 220 px column anchored to its right edge.
Edge cases (spec)

220 px column anchored right.

Notes for AI

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