Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

tamagui

> 前端框架
Open source

Style React fast with 100% parity on React Native, an optional UI kit, and optimizing compiler.

14.1K stars0 likes2 views
WebsiteGitHub

About

Style React fast with 100% parity on React Native, an optional UI kit, and optimizing compiler.

Style library, design system, composable components, and more.

Tamagui is a bunch of libraries for building UIs that share code across React and React Native.




  • @tamagui/core - Universal style library for React.
  • @tamagui/static - Optimizing compiler that works with core and tamagui.
  • tamagui - UI kit that adapts to every platform.

See tamagui.dev for documentation.

Tamagui lets you share more code between web and native apps without sacrificing the two things that typically suffer when you do: performance and code quality.

It does this with an optimizing compiler that outputs platform-specific optimizations - it turns styled components, even with complex logic or cross-module imports, into a simple div alongside atomic CSS on the web, or a View with its style objects hoisted on native.

The entirety of Tamagui works at compile time and runtime, and can be set up gradually, with initial usage as simple as importing it and using the base views and styled function.

We recommend checking out the starters with npm create tamagui@latest, they range from a simple learning example to a production-ready monorepo.

The compiler optimizes most and ultimately flattens a majority of styled components. In the ~500px² responsive browser section of the Tamagui website, 49 of the 55 or so inline styled components are flattened to a div. The homepage gains nearly 15% on Lighthouse with the compiler on.

Learn more on the website.


Contributing

To contribute to Tamagui reference the contributing guide.

To contribute to documentation, see the docs source in code/tamagui.dev/data/docs/.

Issues· 100 open

View all issuesOpen on GitHub
  • #4244

    PressEvent is nullified before I can use it in onLongPress callback

    Updated Oct 1, 2026
  • #4241

    Native menus on Android — a trigger child with a press handler keeps the touch from the adapter, and `onLongPress` never fires inside a native menu

    Updated Sep 29, 2026
  • #4240

    [popover] On web with the Reanimated driver, a popover's first open skips its enter animation

    Updated Sep 29, 2026
  • #4239

    [animations-reanimated] An exit never completes when the element has a keyword width such as max-content

    Updated Sep 29, 2026
  • #4238

    [V2] Web SSR/static export: root theme class from the server HTML survives hydration, so dark mode renders light screens with dark sheets

    Updated Sep 28, 2026
  • #4237

    [V2] Native modal `Sheet` can get stuck showing only its overlay: the first open waits on an animation callback and has no fallback

    Updated Sep 28, 2026
  • #4236

    [V2] Closed modal `Sheet` with `unmountChildrenWhenHidden` leaves an empty full-screen `Portal` wrapper on native

    Updated Sep 28, 2026
  • #4235

    [V2] `@tamagui/slider` starts a `setInterval` on import that keeps Node alive and `expo export --platform web` never exits

    Updated Sep 28, 2026
  • #4233

    [animations-css] An exit starts from a stale opacity when the element declares no base opacity

    Updated Sep 25, 2026
  • #4232

    Font tokens (fontSize/lineHeight/fontWeight) inside a styled() variant are dropped unless the variant also sets fontFamily

    Updated Sep 25, 2026

> Tags

TypeScriptatomic-csscss-in-jsoptimizing-compilerreact

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架