Baike.dev
All toolsTrendingOpen sourceNewsSubmit
Log in
< 返回工具列表
T

tamagui

> 前端框架
开源

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

14.1K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

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](https://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](https://tamagui.dev) of the Tamagui website, 49 of the 55 or so [inline styled components](https://github.com/tamagui/tamagui/blob/main/code/tamagui.dev/components/HeroResponsive.tsx) are flattened to a `div`. The homepage gains nearly 15% on Lighthouse with the compiler on. [Learn more on the website](https://tamagui.dev/docs/intro/introduction). --- ## Contributing To contribute to Tamagui reference the [contributing guide](https://github.com/tamagui/tamagui/blob/main/CONTRIBUTING.md). To contribute to documentation, see the docs source in `code/tamagui.dev/data/docs/`.

核心特点

  • •@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.

> 标签

TypeScriptatomic-csscss-in-jsoptimizing-compilerreact

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月9日
分类前端框架
定价开源

> 相关工具

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