View Source API Reference Surface Form v0.2.0

Modules

Defines a form that lets the user submit information.

Defines a checkbox.

An input field that let the user specify a color, either with a text field or a color picker interface.

An input field that let the user enter a date, either with a text field or a date picker interface.

Generates select tags for date.

An input field that let the user enter both date and time, using a text field and a date picker interface.

Generates select tags for datetime.

An input field that let the user enter one or multiple e-mails.

A component inspired by error_tag/3 that ships with mix phx.new in MyAppWeb.ErrorHelpers.

Defines a form field.

Defines a context for a form field but without the <div> wrapper in Field.

Generates a file input.

A hidden input field.

Retrieves form and field values from the context.

An input field that let the user to enter a number.

Defines options to be used inside a select.

An input field that let the user securely specify a password.

Defines a radio button.

An input field that let the user specify a numeric value in a given range, usually using a slider.

Defines a reset button.

An input field that let the user enter search queries.

Defines a select.

Defines a submit button to send the form.

An input field that let the user enter a telephone number.

An input field that let the user enter a multi-line text.

An input field that let the user enter a single-line text.

An input field that let the user enter a time (hours, minutes and optionally seconds).

Generates select tags for time.

An input field that let the user enter a URL.

Generates a button that uses a regular HTML form to submit to the given URL.

Wrapper around Phoenix LiveView's built-in live_file_input/2 function.