axelerator/picomponents/1.0.0

NOTE: the latest version is 2.0.1

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 -> TextInput customError

A String input with the given label

integerInput : String -> IntInput customError

An Integer input with the given label

floatInput : String -> List (Attribute Msg) -> FloatInput customError

A Float input with the given labelText and attributes

dateInput : String -> DateInput customError

A Date input with the given label

switch : String -> BoolInput customError

A Checkbox but styled as a switch