github callstack/react-native-paper v6.0.0-alpha.4
Release 6.0.0-alpha.4

pre-releaseone hour ago

6.0.0-alpha.4 is the fourth prerelease of React Native Paper 6, for trying the upgrade before the beta. Install it with npm install react-native-paper@alpha. APIs can still change.

Migration guide: https://oss.callstack.com/react-native-paper/6.x/docs/guides/migration

Breaking since 6.0.0-alpha.3:

  • Dialog no longer renders children, and Dialog.Icon, Dialog.Title, Dialog.Content, Dialog.Actions and Dialog.ScrollArea are removed: pass icon, title, content, actions and scrollable instead. (#5072, guide)
  • theme.animation.scale is removed: pass reduceMotion="on" to PaperProvider to turn Paper's animations off, and read the preference with the new useReduceMotion() hook. (#5235, guide)
  • The FAB variants tonalPrimary, tonalSecondary and tonalTertiary from the earlier alphas are renamed primaryContainer, secondaryContainer and tertiaryContainer, with the same colors and no aliases: in JavaScript, a FAB, a FAB.Extended or the FAB.Menu trigger with an old name throws at render unless it sets containerColor. (#5110, guide)
  • Switch is now 48dp tall and its selected icon uses onPrimaryContainer. A Switch without onValueChange now renders read-only and logs a warning, so pass onValueChange, readOnly or disabled. (#5222, guide)
  • The theme prop of ThemeProvider is typed as a partial Theme, so TypeScript reports values that aren't a theme and keys the theme doesn't have, such as roundness. (#5239, guide)
  • A TextInput.Icon without a press handler is hidden from assistive technology, and one with a handler needs aria-label or accessibilityLabel. A field's supporting text, counter, prefix and suffix now describe it instead of naming it (on Android and iOS they move to its hint). (#5111, guide: icons, supporting text)
  • Appbar renders its children in the order given (isLeading no longer moves them), Appbar.Content always has a 12dp title margin and no longer takes mode, and a Tooltip around an action no longer gets the bar's theme. (#5218, guide)
  • IconButton's size is now a named size (extra-small to extra-large, with iconSize for the glyph). The contained and contained-tonal modes are renamed filled and tonal, style.borderRadius no longer sets the corner (use shape), and selected={false} shows the toggle-off colors. Appbar.Action and Appbar.BackAction no longer take a numeric size. (#5103, guide)
  • TextInput.Icon's size is renamed iconSize, matching IconButton. (#5262, guide)

Also new: IconButton follows Material 3 Expressive, with sizes from extra-small to extra-large, round and square shapes that morph on press, and toggle colors (#5103); Appbar adds the flexible modes and variant and width on Appbar.Action, and its parts read the bar from context (#5218); Dialog takes its parts as props (#5072); a useReduceMotion() hook (#5235), and FAB honours reduceMotion="off" over the device setting (#5231); PaperProvider merges its theme prop deeply (#5234), and ThemeProvider merges onto the theme above it (#5239); TextInput gets the Material 3 state colors and clearer screen reader output (#5111, #5199), places its accessories and label correctly in right-to-left layouts (#5219), and starts its text at the start edge when a suffix is set (#5261); on web, right-to-left text aligns right (#5265) and a LocaleProvider subtree lays out in its own direction (#5255); the Menu scales in on every open (#5232); a collapsed drawer item's indicator expands when it becomes active (#5233); a long press on a FAB shows its Tooltip (#5172); a read-only Switch marked aria-hidden stays out of the accessibility tree, for switch rows (#5254); and on Android a press that disables a touchable no longer leaves its ripple behind (#5268).

Known issues:

  • Installing with npm: adding Paper can fail with ERESOLVE when your react-native-reanimated range lets npm pick a version your React Native or react-native-worklets doesn't support, on React Native 0.81 to 0.86 or with ^ ranges from before Reanimated 4.8. Install the Reanimated and Worklets pair that matches your React Native first, pinned with ~ (on 0.81 and 0.82: npm install react-native-reanimated@~4.3.0 react-native-worklets@~0.8.1), then Paper. Expo SDK 58 apps aren't affected.
  • Appbar: in medium and large modes, at larger text sizes the title can cover the back action and take its taps (#5280). Until it's fixed, cap it with titleMaxFontSizeMultiplier. At the largest iOS text sizes the title is clipped (#5247, fix in #5273). A pressable title is two focus stops on Android (fix in #5270).
  • Button: accessibilityLabel, accessibilityState and loading don't reach the pressable, so a loading button isn't announced as busy (#5216, fix in #5225).
  • FAB.Menu: Android back doesn't close an open menu, and its collapsed items are still keyboard stops on web and Android (fix in #5170).
  • Menu: with a screen reader, opening a menu leaves focus on the anchor and the items come last in the reading order. On Android, the items can't be reached with a keyboard (#5215, fix in #5220). On web in right-to-left layouts, a menu opens on the far side of the screen from its anchor (#5286).
  • Dialog: on iOS, VoiceOver starts on the dialog's hidden close button and doesn't announce its title.
  • TextInput: on web and Android, the field's wrapper is an extra keyboard stop before the input (#5281).
  • Tooltip: its wrapper is a focus stop of its own. On iOS it hides the child's button role, so a child without a label is silent with VoiceOver (#5282).
  • SegmentedButtons: on web, the selected segment isn't exposed to assistive technology (#5181, fix in #5186).
  • Right-to-left on web: a Menu.Item title touches its leading icon, the Drawer.Section title inset is too small, the Appbar.Content title sits 12px closer to the back action, a List.Item in a List.Accordion with a left icon loses its indent, and TextInput's supporting text stays on the left (#5283).
  • Babel plugin: a namespace or default import of react-native-paper fails the build (#5227, fix in #5266).
  • Docs: the 6.x theme generator outputs a 5.x color scheme (#5269, fix in #5271).
  • Small visual issues: a Dialog with only actions leaves an empty gap above them, and on web the hover layer is lighter than Material 3's (0.05 instead of 0.08).

6.0.0-alpha.4 (2026-11-23)

Bug Fixes

  • drawer: expand the collapsed item indicator when it becomes active (#5233) (dd4ea6e)
  • fab: forward long press props so Tooltip works on FAB (#5172) (a525c28)
  • fab: honour reduceMotion="off" over the device setting (#5231) (c90b65c)
  • locale: lay out a LocaleProvider subtree in its direction on web (#5255) (7ab2640)
  • menu: scale the menu in on every open, not only the first (#5232) (4c4bd8f)
  • provider: merge the theme prop deeply (#5234) (1e20a68)
  • switch: hide a read-only switch in a switch row with aria-hidden (#5254) (0595199), closes #5245
  • text-input: keep the hidden placeholder empty (#5199) (fbf9006)
  • text-input: place accessories and label correctly in RTL (#5219) (c8c3a39), closes #5214
  • text-input: start-align the input text when a suffix is set (#5261) (295f36b), closes #5246
  • text: align right-to-left text to the right on web (#5265) (add03a1)
  • touchable-ripple: clear a ripple left by a disabling press (#5268) (6158ef9), closes #5267

BREAKING CHANGES

  • TextInput.Icon's size is renamed iconSize, matching IconButton.
  • IconButton's size is now a named size (extra-small to extra-large, with iconSize for the glyph), the contained and contained-tonal modes are renamed filled and tonal, style.borderRadius no longer sets the corner (use shape), selected={false} shows the toggle-off colors, and Appbar.Action and Appbar.BackAction no longer take a numeric size.
  • Appbar: children render in the order given (isLeading no longer reorders), Appbar.Content always has a 12dp title margin and loses its mode prop, and a Tooltip around an action no longer gets the bar's theme.
  • TextInput.Icon without a press handler is now hidden from assistive technology and one with a handler needs aria-label or accessibilityLabel, and a TextInput's supporting text, counter, prefix and suffix are no longer part of its accessible name (on Android and iOS they move to its hint and their text nodes are hidden).
  • The theme prop of ThemeProvider is typed as a partial Theme instead of accepting any value, so TypeScript reports values that aren't a theme and keys the theme doesn't have, such as roundness.
  • Switch is now 48dp tall, its selected icon uses onPrimaryContainer, and a Switch without onValueChange renders as read-only and warns, so pass onValueChange, readOnly or disabled.
  • The FAB variants tonalPrimary, tonalSecondary and tonalTertiary are renamed to primaryContainer, secondaryContainer and tertiaryContainer, with no aliases.
  • theme.animation.scale is removed; pass reduceMotion="on" to PaperProvider to turn animations off, and read the preference with useReduceMotion().
  • Dialog no longer renders children, and Dialog.Icon, Dialog.Title, Dialog.Content, Dialog.Actions and Dialog.ScrollArea are removed; pass icon, title, content, actions and scrollable instead.

Don't miss a new react-native-paper release

NewReleases is sending notifications on new releases.