React Native Morphing Button Group for Expo

Buttons that split, join and stretch between sets — with a signature sheet built on it.

NewProiOS · Android · Expo Go
9:41

Props

PropTypeDefault
buttons

MorphingButtonGroup: the buttons to show now; changing it morphs the row.

{ key, label, icon?, variant?, onPress? }[]—
height

Button height.

number44
gap

Space between buttons.

number10
duration

Morph length in ms.

number380
SignatureSheet label

The pill's text.

string'Sign'
SignatureSheet title

Card title.

string'Add Signature'
SignatureSheet onConfirm

The finished signature.

({ paths, width, height }) => void—
SignatureSheet onCancel

Closed without signing.

() => void—
SignatureSheet cardHeight

Height of the open card.

number340
style

Root style.

StyleProp<ViewStyle>—
className

Tailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides.

string—

Customization

You own the source file — tune appearance with props (no fork required for most tweaks). For brand-wide colours and radius, wrap your app in KitProvider; for one-off looks, use the style props below.

Design theme

Open Design theme on the live preview — accent, corner radius and font update every variant instantly (same as KitProvider in your app).

Variants

Use the variant chips on the preview to switch examples; each maps to a demo you can copy from the Code tab.

Style props

React Native style and typed slots like fieldStyle, plus optional root className when you use NativeWind or Uniwind (cnProps from kit).

style
StyleProp<ViewStyle>Root style.
className
stringTailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides.

Map tokens from your design system on Bring your design system or read Theming for KitProvider and NativeWind / Uniwind setup.

Behaviour & accessibility

Morph
Buttons with the same key keep their place and resize; new ones grow in from nothing and leaving ones shrink away, on one smooth ease (no bounce).
Labels
A label change cross-fades while the button resizes.
Signature
The pad draws smoothed strokes; undo removes the last one, Reset clears, Confirm asks once more. onConfirm gets SVG path data and the pad size.
Haptics
A tick on each button, a light tap opening the sheet, success on confirm.
Reduced motion
Morphs are instant.

Source

FAQ

How do I make a signature pad in React Native?
Use ExpoKit's Morphing Button Group, a Pro component: with ExpoKit Pro, the ExpoKit CLI copies a ready-made signature pad into your Expo or React Native app as plain TypeScript you can edit. It works on iOS, Android and web, and in Expo Go.
Does Morphing Button Group work in Expo Go?
Yes. Morphing Button Group runs in Expo Go on iOS and Android with no development build — its packages (react-native-svg, expo-haptics) are all included in Expo Go.
How do I add Morphing Button Group to my Expo app?
With ExpoKit Pro, add it with the ExpoKit CLI: it copies the component's source into your app and installs react-native-svg, expo-haptics, so the code is yours to change. The install command is on this page for Pro members.
Is Morphing Button Group free?
Morphing Button Group is part of ExpoKit Pro. With a Pro plan, log the CLI in once (npx @expokit/cli@latest login) and it installs the full source into your app.
Can I change how Morphing Button Group looks?
Yes. It takes its colours, radius and light / dark mode from useKit(), so wrapping your app in <KitProvider accent radius> re-skins it with every other ExpoKit component. The code lives in your project, so you can also edit anything directly.