Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Container for form inputs and submission
Form
<Form onSubmit={{ type: "api.post", payload: { endpoint: "/users" } }}> <Input name="name" label="Name" /> <Input name="email" label="Email" /> <Button type="submit" label="Submit" /> </Form>
<Form defaultValues={{ name: user.name, bio: user.bio }} onSubmit={{ type: "updateProfile" }} > <Input name="name" label="Name" required /> <Textarea name="bio" label="Bio" /> <Button label="Save Changes" /> </Form>