fluid 0.6.0-alpha

A straightforward and easy to use GUI library.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

Hello World from Fluid!

A flexible UI library for the D programming language. Minimal setup. Declarative. Non-intrusive.

auto root = vspace(
    .layout!"center",
    label(.layout!"center", "Hello World from"),
    imageView("./logo.png", Vector2(499, 240)),
);

Fluid comes with Raylib 5 and arsd.simpledisplay support. Integration is seamless: one or two calls do the job.

while (!WindowShouldClose) {

    BeginDrawing();

        ClearBackground(color!"#fff");
        root.draw();

    EndDrawing();

}

Fluid has a decent feature set at the moment and new features will still be added over time. Fluid is already mostly stable and ready for use, but is still likely to receive multiple breaking changes before leaving its pre-release stage.

Support Fluid development on Patreon: https://www.patreon.com/samerion

  • Straightforward, high-level API
  • Responsive layout
  • Extensible
  • Components easily combined together
  • Reliable mouse and keyboard input
  • Separate layout and styling
  • Scrolling support
  • Out-of-the-box Unicode support
  • Full HiDPI support
  • Partial gamepad support
Authors:
  • Artha
Sub packages:
fluid:example-showcase, fluid:example-showcase-2, fluid:example-onions, fluid:example-checks, fluid:example-scroll, fluid:example-margins, fluid:example-hidpi, fluid:example-map
Dependencies:
raylib-d, elemi, arsd-official:image_files, arsd-official:simpledisplay, bindbc-freetype
Versions:
0.7.0 2024-Oct-02
0.7.0-alpha.3 2024-Sep-18
0.7.0-alpha.2 2024-Apr-29
0.7.0-alpha.1 2024-Feb-29
0.6.3 2024-Feb-26
Show all 11 versions
Download Stats:
  • 1 downloads today

  • 2 downloads this week

  • 12 downloads this month

  • 307 downloads total

Score:
2.0
Short URL:
fluid.dub.pm