Forest Logo
search
package_2

dec

By @ambergracesoftware

Roblox

Mirrored

Dec



Dec is a library for building Roblox User Interfaces.

Dec provides tools to prototype animated, responsive UI Components, and manage state across an entire Roblox project. Dec Components can be written entirely in Luau, or use premade assets built using Studio's UI editor.


DISCLAIMER: Dec is a work in progress, and does NOT currently have a full release! Please do not use Dec in production-bound code until v1.0.0 has been released.

Documentation

Please see the Documentation Site for tutorials, a full API reference, and more!


Installation

Dec can either be imported into your Roblox project, or installed via Wally.

Roblox Studio Installation

To add Dec to your Roblox Studio project, download the latest .rbxmx release from Github, then drag the model file into Roblox Studio. Place the Dec library somewhere in ReplicatedStorage.

Rojo + Wally Installation

To install Dec using Wally, first install Rojo and Wally, then search for the last published Dec release on the Wally website, or run the following command to get the latest version:

$ wally search ambergracesoftware/dec

To add Dec to your project, add an entry under the [dependencies] section of your project's wally.toml file, replacing X.Y.Z with Dec's latest version number:

Dec = "ambergracesoftware/dec@X.Y.Z"

Finally, run

$ wally install

On the command line to get have the latest install added to your project's Packages folder.

It is also recommended you run the wally-package-types tool after installing or updating Dec, as well as the Luau LSP in order to utilize Dec with Luau's type safety features.


Contributing

To contribute to Dec's development, you may fork this repository.

Dec uses the following toolchain for library development:

Dec uses unit testing to validate code quality. Because Roblox Studio tests cannot currently be fully automated, unit tests must be run manually before changes can be merged into the main branch. To perform this process:

  • Sync the build via rojo build --output Dec.rbxlx
  • Open the build in Roblox Studio, and run the command line script located in game.ServerScriptStorage.TestRunner
  • Copy the "proof checksum" generated in Studio's output and replace the contents testing_proof_checksum.txt with this checksum, then commit this directly to the branch.
  • Github will automatically start an action which compares the source code with the proof checksum. If it matches, and the unit tests were all successful, the current branch will be marked as safe to merge.

Package Details

Install command (Click to copy)


Version

0.1.3

License

MIT

check_circle

Safe for commercial use

Automated license review — not legal advice.