Skip to content

components/field

@fungi.computer/caps


@fungi.computer/caps / components/field

FieldProps = object & HTMLAttributes<HTMLDivElement>>

Props accepted by Field.

children: ReactNode

optional description?: ReactNode

optional error?: ReactNode

optional label?: ReactNode

optional orientation?: "horizontal" | "vertical"

optional required?: boolean

const Field: ForwardRefExoticComponent<object & HTMLAttributes<HTMLDivElement> > & RefAttributes<HTMLDivElement>>>>

A labelled form-field layout that renders caller-provided control and supporting content.

FieldError(__namedParameters): Element

An announced error that takes no space when absent and collapses smoothly.

HTMLAttributes<HTMLDivElement>

Element


FormFooter(__namedParameters): Element

A form’s stationary action area, separate from its scrolling content.

HTMLAttributes<HTMLElement> & object

Element