Skip to content
IndexDesign corpus
Component LibrariesComponent LibraryPrimitiveToolMITFreeReact

Tamagui

Universal React styling engine, optimizing compiler and ~48 components for web and native

Abouttamagui.dev

Tamagui is three things in one: Core, a roughly 24KB typed style library for React and React Native; Static, a compiler that does partial evaluation, CSS extraction and tree flattening so styles cost nothing at runtime on web; and a UI kit of about 48 documented components. It targets teams shipping one codebase to iOS, Android and web who refuse to accept the usual performance penalty of React Native Web. The core is MIT and open source; Takeout, a paid Pro starter kit built on Tamagui, One and Zero, funds the project.

Install
npm create tamagui@latest
For an agent

Reach for Tamagui only when the target is genuinely universal — one React codebase for iOS, Android and web — because the compiler setup (Metro, Next, Vite or Expo plugins plus a tamagui.config) is real work you should not impose on a web-only project where Tailwind plus shadcn/ui or HeroUI wins outright. Its llms.txt is a full ~1MB dump of every doc page including prop tables, so grep it for the component you need rather than fetching pages one at a time. Check the config version in the user's repo before writing code: v4 and v5 configs differ, and Tamagui 2.x changed enough that older snippets will not compile.

Why it is here. The most serious attempt at write-once-run-everywhere React styling with no runtime cost on web, and the reason universal apps no longer have to choose between native parity and web performance.

Install command, framework, licence and component list.
Components it ships48 total
Helps you build20
Templates2
Notable for
  • optimizing compiler with CSS extraction
  • ~24KB core style library
  • true React Native and web parity
  • paid Takeout starter funds the OSS
  • exhaustive llms.txt with prop tables
Provenance

Verified 2026-08-16. HTTP 200. https://tamagui.dev, https://tamagui.dev/llms.txt (1.08MB; 48 unique '## components/*' doc sections enumerated, a few of which are guides such as intro and z-index rather than components), https://tamagui.dev/takeout, npm registry for tamagui (2.7.7), GitHub API for tamagui/tamagui. tamagui.dev/sitemap.xml returns the SPA shell, not XML.

Related resourcesComponent Libraries