Playground

Button [basic]
Button Demo

Interactive button with click handling

For the full interactive experience:

$ mix raxol.playground

Code
row style: %{gap: 2} do
  [
    button("Primary [1]", on_click: :primary),
    button("Secondary [2]", on_click: :secondary),
    button("Reset [r]", on_click: :danger)
  ]
end
playground j/k nav / focus demo esc back c code ? help 42/42 widgets