axelerator / picomponents / Pico.Form

This module provides FancyForm widgets that allow you to build forms that use the markup of the pico CSS framework.

Widgets

textInput : String -> FancyForms.Widgets.Text.TextInput customError

A String input with the given label

dropdown : String -> FancyForms.Form.Variants b -> FancyForms.Widgets.Dropdown.SelectWidget b customError

A Select widget with the given label

integerInput : String -> FancyForms.Widgets.Int.IntInput customError

An Integer input with the given label

floatInput : String -> List (Html.Attribute FancyForms.Widgets.Float.Msg) -> FancyForms.Widgets.Float.FloatInput customError

A Float input with the given labelText and attributes

dateInput : String -> FancyForms.Widgets.Date.DateInput customError

A Date input with the given label

switch : String -> FancyForms.Widgets.Checkbox.BoolInput customError

A Checkbox but styled as a switch