Composing with Form
Wrap inputs in Form for coordinated validation and submission:
typescript
1<Form onSubmit={handleSubmit}>2 <Input name="email" label="Email" required />3 <Input name="password" type="password" label="Password" required />4 <Button type="submit">Sign In</Button>5</Form>