Caution
SproutUI now is depecrated and now archived. It serves as an experiment and exploration on how to achieve headless components with Phoenix LiveView. But now I have to give it up, because I don't really have a real-world use case for LiveView and it's not worth the hassle to continue this project. You can see more discussion here.
The code examples demonstrated in the documentation website is from the legacy
branch, if you're still intrested.
Sprout UI provides a collection of unstyled and accessible components for Phoenix Framework. Check out the website for more information. Also you can find the of the website here.
Sprout UI is still in en early development stage, it is not oficially released on hex.pm yet. But you can try it by installing it from the GitHub repository. Currently it depends on phoenix ~> 1.7.0-rc
and phoenix_live_view ~> 0.18.3
.
The package can be installed by adding sprout_ui
to your list of dependencies in mix.exs
:
def deps do
[
{:sprout_ui, git: "https://github.com/TunkShif/sprout_ui"}
]
end
Sprout UI source code is distributed under the MIT License.