Skip to main content
Back to changelog

Form controls and keyboard-aware scrolling

vortex-native v0.3.0: Form controls and keyboard-aware scrolling

Build forms with labeled fields and selection controls, and keep focused inputs visible when the keyboard opens.

New features

  • Added TextField and TextArea with composable labels, inputs, helper text, and error messages.
  • Added ScrollArea with horizontal and vertical scrolling, scroll progress callbacks, and keyboard avoidance for focused fields in vertical scroll areas.
  • Added a draggable Switch.
  • Added standalone and grouped Checkbox controls and Radio groups in md and lg sizes. Read group state with useCheckboxGroup and useRadioGroup.
  • Added responsive Image with fallback content.
  • Added Avatar with initials, icons, status indicators, and groups.
  • Added static Badge and Badge.Frame for positioning a badge over other content.
  • Added secondary, secondary-bold, and static-secondary colors to Text.

Improvements

  • Increased the default height of Button from 24pt to 28pt when size="xs".

Breaking changes

  • Required react-native-keyboard-controller@>=1.24.0, react-native-reanimated@>=4.8.0, and react-native-worklets@>=0.14.0 as new peer dependencies. Follow the native installation steps to configure react-native-worklets/plugin in Babel and rebuild your app.
  • Added a keyboard provider inside VortexProvider by default. If your app already mounts one, pass keyboardProvider={false} to keep using it.
  • Changed VortexProvider to set the system status bar content style from the active color mode. Pass statusBar={false} to keep your app or router in control.