RatioPBC / sprout_ui

Unstyled and accessible components for Phoenix Framework

Home Page:https://sprout-ui.tunkshif.one

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SproutUI logo


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.

Installation

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

Credits & Inspirations

Copyright & License

Sprout UI source code is distributed under the MIT License.

About

Unstyled and accessible components for Phoenix Framework

https://sprout-ui.tunkshif.one

License:MIT License


Languages

Language:Elixir 75.6%Language:HTML 11.0%Language:TypeScript 10.2%Language:JavaScript 3.0%Language:CSS 0.3%