Everything in the @3d-dice suite falls under the MIT license or the CC0 license license. This means it's free for commercial use and redistribution. I've benefited from open source software for years and this is my "give back".
This documentation makes frequent reference to common dice notations such as
5d6 where the first number represents the number of dice to roll and the
d# represents the number of sides on a die. The default theme dice are
This project id under active development with more features in the pipeline. Feel free to add feature requests into the Github issue tracker.
Show me some code
See the kitchen sink code demo here: https://codesandbox.io/s/3d-dice-demo-v1-0-2-sm4ien
Here's a simple React Demo for rolling attributes (using 3d6): https://codesandbox.io/s/react-roller-attributes-v1-0-2-65uqhv
Here's a React Demo with support for advanced dice notation: https://codesandbox.io/s/react-roller-advanced-notation-v1-0-2-rz0nmr