Stylish

Build Statushex.pm version

Phoenix view helpers for HTML components styled with tailwindcss

Installation

Add the stylish package to your list of dependencies in mix.exs:

def deps do
[
{:stylish, "~> 0.0.4"}
]
end

Tables

Navigation

Navigation links between the first, previous, current, next & last page of a table

table navigation

<%= render(
Stylish.Table,
"navigation.html",
conn: @conn,
to: fn endpoint, page -> endpoint.example_path(endpoint, :index, page: page) end,
current_page: 5,
last_page: 10
) %>

Authors

License

stylish is released under the MIT license