Skip to content
/ formz Public

A Gleam library for parsing and generating accessible HTML forms.

Notifications You must be signed in to change notification settings

bentomas/formz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

formz

Package Version Hex Docs

A Gleam library for parsing and generating accessible HTML forms.

import formz/field.{field}
import formz/formz_builder as formz
import formz_string/definitions

pub fn make_form() {
  formz.decodes(fn(username) { fn(password) { #(username, password) } })
  |> formz.require(field("username"), definitions.text_field())
  |> formz.require(field("password"), definitions.password_field())
}

See the main package for more details

About

A Gleam library for parsing and generating accessible HTML forms.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published