Skip to main content
Back to changelog

Accordions, code fields, and pickers

vortex-native v0.6.0: Accordions, code fields, and pickers

Build expandable sections, collect verification codes, and let people pick times, durations, or other values from scrolling wheels.

New features

  • Added Accordion for expandable sections and useAccordionItem to read an item’s open and disabled states.
  • Added PinField for verification codes, with configurable length, character patterns, and a completion callback.
  • Added WheelPicker for scrolling selections and WheelPickerGroup to align several wheels under one selection band.
  • Added TimePicker for times of day and durations. The selection is saved when people tap Done.
  • Added revealTitleOnScroll to AppBar so a default bar can reveal its title and subtitle after scrolling.

Improvements

  • Improved AppBar so its large title moves and fades with the scroll position when driven by scrollOffset.

Breaking changes

  • Made the scroll divider opt-in on AppBar. Previously a scrolled bar showed the divider automatically. Pass showDivider to keep that behavior.