Agriculture Design System
Beta
Design System for the Export Service

Form stack

The Form stack component is used to apply consistent vertical spacing between elements in forms.

import { ... } from '@ag.ds-next/react/form-stack';

Usage

Form stack components can be imported via the form-stack entrypoint in the @ag.ds-next/react package.

For example:

import { ... } from '@ag.ds-next/react/form-stack';

Props

FormStack Props
PropTypeDescription
childrenReactNode

Source

You can view the full source code for this package on Github.