Components

Form

Unofficial Experimental

A component to collect information from the user.

Write your firstname followed by your surname
Props
NameTypeDefaultDescription

Stories

Standard

A standard Form.

Write your firstname followed by your surname

Sex?

What is your date of birth?

For example, 12 11 2007

Are you married?

Steps

Break up your form into steps, using Form.Page, to make it less overwhelming for the user.

Write your firstname followed by your surname

Forks

Split your form's journey based on user input, using Form.Fork, to avoid requesting information you don't need.

The example below will send the user down a different path depending on their sex.

Write your firstname followed by your surname