Skip to content

Phoenix view helpers for HTML components styled with tailwindcss

License

Notifications You must be signed in to change notification settings

fremantle-industries/stylish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stylish

Build Status hex.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.9"}
  ]
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

About

Phoenix view helpers for HTML components styled with tailwindcss

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages