This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
FieldGroup
A scrollable container of grouped settings-style rows.
A scrollable container for grouped settings-style rows, mirroring the look of an iOS Settings screen. Compose FieldGroup.Section (for explicit groups), FieldGroup.SectionHeader, and FieldGroup.SectionFooter slots inside.
Note:
FieldGroupscrolls and has no height of its own. It stretches to fill its parent, so give it a parent with a definite size, such as a<Host style={{ flex: 1 }}>or a host with an explicit height. It will not appear inside a size-to-fit container like<Host matchContents>, because there is no bounded height for the group to fill.
Installation
If you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
Sectioned form
Custom section header and footer
Use FieldGroup.SectionHeader and FieldGroup.SectionFooter to render fully styled header/footer slots in place of the default title text.
API
import { FieldGroup } from '@expo/ui';
No API data file found, sorry!