fluid 0.7.1

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"),
);

Fluid comes with Raylib 5 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 a few 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
  • Code editor node included
  • Full HiDPI support
  • Partial gamepad support

Get Fluid

For a quick start guide on Fluid, check out the tour:

dub run fluid:tour

Create a new dub project based on Fluid:

dub init -t fluid

You can use dub to include Fluid in your code:

dub add fluid
dub add raylib-d
dub run raylib-d:install
Authors:
  • Artha
Sub packages:
fluid:tour, fluid:showcase, fluid:init-exec, fluid:module-view
Dependencies:
raylib-d, elemi, bindbc-loader, arsd-official:image_files, bindbc-freetype
Versions:
0.7.1 2024-Nov-22
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
Show all 12 versions
Download Stats:
  • 0 downloads today

  • 4 downloads this week

  • 12 downloads this month

  • 319 downloads total

Score:
2.1
Short URL:
fluid.dub.pm