Guillotine (guillotine v0.2.0)

Fully accessible unstyled Phoenix components.

Table of Contents

Installation

First, add guillotine to the list of dependencies in your mix.exs:

def deps do
  [
    {:guillotine, "~> 0.1.0"}
  ]
end

Guillotine relies heavily on Phoenix hooks that need to be added to your JavaScript bundle. To do that, head to your app.js and add the hooks:

import { Hooks } from "guillotine";

let liveSocket = new LiveSocket("/live", Socket, {
  hooks: {
    ...Hooks
  },
});