Skip to content

Form

Open .md
Live preview

Loading example…

Vertical form layout; every <form> attribute and handler passes through.

import { Form } from "@jcsoftdev/ui/forms";

Single-component entry points tree-shake to just this component: @jcsoftdev/ui/forms/form.

export const Default: Story = { render: () => <Demo /> };

Source of the Storybook story.

This component declares no props of its own.

It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).

packages/ui/src/forms/form/form.tsx