Beautifully designed components that you can copy and paste into your Phoenix Framework apps. Made with Tailwind CSS. Open source.
Phoenix UI is a complimentary UI library specifically designed for the Phoenix Framework and Phoenix LiveView. It provides a collection of user interface components that can be easily integrated into Phoenix projects. In order to use Phoenix UI, you need to have Phoenix 1.6 installed in your project.
To install Phoenix UI, follow these steps:
mix.exs file by including phoenix_ui in the list of dependencies.defp deps do
[
{:phoenix_ui, "~> x.x.x"}
]
end
x.x.x with the desired version of Phoenix UI.mix deps.get to fetch the package.view_helpers function. Here’s an example:def view_helpers do
quote do
...
import Phoenix.UI.Components
...
end
end
Phoenix UI is a valuable UI library that enhances the development experience of Phoenix Framework and Phoenix LiveView projects. With its Tailwind CSS integration, easy installation process, and well-documented components, it provides developers with a convenient way to create beautiful and responsive user interfaces.