Repository navigation
Breaking
- Tamagui 3 is now required (
tamagui ^3.1.0). Tamagui 2 is no longer supported.npm install react-jsonschema-ui tamaguinow installs a working pair.
New
- Zero setup.
<SchemaForm>works with no Tamagui configuration. Outside a<TamaguiProvider>it provides one itself: with your config if you calledcreateTamagui, otherwise with a built-in default theme. The README quick start runs as pasted on React Native, Expo, Next.js and other React apps. - No animation driver needed. The
selectwidget opens a bottom sheet when your Tamagui config has an animation driver. Without one, it expands inline on native and stays a popover on web. - Widgets follow any Tamagui 3 config pack (v5 or v6) and their light/dark themes.
Install
npm install react-jsonschema-ui tamaguiOn React Native, also install react-native-safe-area-context (Tamagui 3 imports it). Expo Router apps already have it. See the README for per-platform setup, including Next.js App Router.
Upgrading from 0.1
- Upgrade
tamaguiand every@tamagui/*package to the same 3.x version. - If you wrote custom widgets or templates with Tamagui, port them to Tamagui 3: bare token names (
gap="2", not$2), named sizes (size="sm"), andvariant="quiet"in place ofchromeless.
Examples
New examples/nextjs (App Router) and examples/react-native (React Native CLI, no Tamagui setup) apps in the repo.
Full details: #1