View Source PyroComponents (PyroComponents v0.1.1)

Pyro is a component library for Phoenix.

To learn more, check out the About page.

To install, follow the Get Started guide.

The easiest way to use PyroComponents is to import them into my_app_web.ex helpers to make the available in all views and components:

 defp html_helpers do
   quote do
     # Import all PyroComponents
     use PyroComponents
     # ...

Comprehensive installation instructions can be found in Get Started.

Pyro provides components that support deep customization through Pyro.Overrides, and also tooling to create your own via Pyro.Component.

Note:

Pyro's component names conflict with the generated CoreComponents. You will need to remove import MyAppWeb.CoreComponents.