Skip to content

Drop lanesPro

An Oxyn original: one drop target that splits into where a file should go – this message, the project's files or a style reference.

oxyn add drop-lanes
Drag a file to a lane, or press it
Read once, with this prompt
    Kept for every chat in the project
      Matched for look, not read for facts
        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

        • Decide at drop time what a file is for – this message only, the whole project, or just its look.

        When not to use

        Installation

        Drop lanes 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 drop-lanes

        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

        Documents

        Four documents waiting: drag one onto a lane, or press it and then a lane.

        Drag a file to a lane, or press it
        Read once, with this prompt
          Kept for every chat in the project
            Matched for look, not read for facts
              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

              Media

              An image, a film and a voice memo.

              Drag a file to a lane, or press it
              Read once, with this prompt
                Kept for every chat in the project
                  Matched for look, not read for facts
                    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

                    Code

                    Source, notes, a sheet and an archive.

                    Drag a file to a lane, or press it
                    Read once, with this prompt
                      Kept for every chat in the project
                        Matched for look, not read for facts
                          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

                          DropLanes

                          PropTypeDefaultDescription
                          filesOption<Vec<DemoFile>>Default::default()Files to place (four samples when `None`).
                          on_fileEventHandler<(String, String)>—A file went to a lane: (file name, lane key).

                          Read from the Rust signature and doc comments.

                          Keyboard interactions

                          KeyAction
                          Enter on a filePicks it up (pressed)
                          Enter on a laneFiles the picked file there
                          Enter on ×Sends a filed file back

                          Accessibility

                          • Files are toggle buttons (aria-pressed); lane headings are buttons, enabled once a file is picked.
                          • Every move is said in a status line, with the lane's name.

                          Responsive behaviour

                          • 560 px card; lanes stack under 480 px.
                          Edge cases (spec)

                          560 px card; lanes stack under 480 px.

                          Notes for AI

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