Import
import { Form } from "@typed/ui/index";Access Form.SchemaBoundForm through the imported Form export. Its declaration below describes the member.
This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export interface SchemaBoundForm<Fields extends FormFields> {
readonly codec: Schema.Struct<Fields>;
readonly state: (values: Schema.Struct.Type<Fields>, options?: SchemaBoundStateOptions<Schema.Struct.Type<Fields>>) => Effect.Effect<FormState<Schema.Struct.Type<Fields>>, Schema.SchemaError, Scope.Scope>;
readonly Root: SchemaBoundRoot<Schema.Struct.Type<Fields>>;
readonly TextInput: SchemaBoundInput<Fields, string>;
readonly SearchInput: SchemaBoundInput<Fields, string>;
readonly EmailInput: SchemaBoundInput<Fields, string>;
readonly UrlInput: SchemaBoundInput<Fields, string>;
readonly TelInput: SchemaBoundInput<Fields, string>;
readonly PasswordInput: SchemaBoundInput<Fields, string>;
readonly HiddenInput: SchemaBoundInput<Fields, string>;
readonly ColorInput: SchemaBoundInput<Fields, string>;
readonly TimeInput: SchemaBoundInput<Fields, string>;
readonly DateTimeLocalInput: SchemaBoundInput<Fields, string>;
readonly MonthInput: SchemaBoundInput<Fields, string>;
readonly WeekInput: SchemaBoundInput<Fields, string>;
readonly NumberInput: SchemaBoundInput<Fields, number>;
readonly RangeInput: SchemaBoundInput<Fields, number>;
readonly DateInput: SchemaBoundInput<Fields, Date>;
readonly MaskedInput: SchemaBoundMaskedInput<Fields>;
readonly Checkbox: SchemaBoundCheckbox<Schema.Struct.Type<Fields>>;
readonly Select: SchemaBoundSelect<Schema.Struct.Type<Fields>>;
readonly Error: SchemaBoundError<Schema.Struct.Type<Fields>>;
readonly Reset: SchemaBoundReset;
readonly Push: SchemaBoundPush<Schema.Struct.Type<Fields>>;
readonly Remove: SchemaBoundRemove<Schema.Struct.Type<Fields>>;
readonly Label: typeof Label;
readonly Description: typeof Description;
readonly Submit: typeof Submit;
readonly Group: typeof Group;
}Property: Checkbox
Bound native checkbox limited to boolean fields.
Property: ColorInput
Bound native color input for string-encoded string fields.
Property: DateInput
Bound native date input for Date fields encoded as strings.
Property: DateTimeLocalInput
Bound native local date-time input for string-encoded string fields.
Property: Description
Neutral description host for caller-linked explanatory content.
Property: EmailInput
Bound native email input for string-encoded string fields.
Property: Error
Bound ARIA alert for a field’s current validation message.
Property: Group
Accessible group host for related controls.
Property: HiddenInput
Bound native hidden input for string-encoded string fields.
Property: Label
Native label component; callers provide the target control ID.
Property: MaskedInput
Bound text input using the selected field’s own string codec.
Property: MonthInput
Bound native month input for string-encoded string fields.
Property: NumberInput
Bound native number input for finite-number fields encoded as strings.
Property: PasswordInput
Bound native password input for string-encoded string fields.
Property: Push
Bound button that appends to an array field.
Property: RangeInput
Bound native range input for finite-number fields encoded as strings.
Property: Remove
Bound button that removes an item from an array field.
Property: Reset
Bound reset button that restores the current form’s defaults.
Property: Root
Native form root that provides the current state to bound descendants.
Property: SearchInput
Bound native search input for string-encoded string fields.
Property: Select
Bound native select limited to string fields.
Property: Submit
Native submit button.
Property: TelInput
Bound native telephone input for string-encoded string fields.
Property: TextInput
Bound native text input for string-encoded string fields.
Property: TimeInput
Bound native time input for string-encoded string fields.
Property: UrlInput
Bound native URL input for string-encoded string fields.
Property: WeekInput
Bound native week input for string-encoded string fields.
Property: codec
Struct codec shared by state construction and every bound field.
Property: state
Creates a Scope-owned hydrated state from decoded initial values.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.
Source
packages/ui/src/Form.ts:2781packages/ui/src/Form.ts:2864packages/ui/src/Form.ts:2828packages/ui/src/Form.ts:2856packages/ui/src/Form.ts:2836packages/ui/src/Form.ts:2892packages/ui/src/Form.ts:2808packages/ui/src/Form.ts:2872packages/ui/src/Form.ts:2900packages/ui/src/Form.ts:2824packages/ui/src/Form.ts:2888packages/ui/src/Form.ts:2860packages/ui/src/Form.ts:2840packages/ui/src/Form.ts:2848packages/ui/src/Form.ts:2820packages/ui/src/Form.ts:2880packages/ui/src/Form.ts:2852packages/ui/src/Form.ts:2884packages/ui/src/Form.ts:2876packages/ui/src/Form.ts:2796packages/ui/src/Form.ts:2804packages/ui/src/Form.ts:2868packages/ui/src/Form.ts:2896packages/ui/src/Form.ts:2816packages/ui/src/Form.ts:2800packages/ui/src/Form.ts:2832packages/ui/src/Form.ts:2812packages/ui/src/Form.ts:2844packages/ui/src/Form.ts:2785packages/ui/src/Form.ts:2789