Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

License

NotificationsYou must be signed in to change notification settings

tamagui/tamagui

Repository files navigation

Shows a black logo in light color mode and a white one in dark color mode.

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


NPM downloadsCommits per monthDiscord users onlineGurubase


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

Seetamagui.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 simplediv 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 withnpm 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 soinline styled components are flattened to adiv. The homepage gains nearly 15% on Lighthouse with the compiler on.

Learn more on the website.

Contributing

To contribute to Tamagui reference thecontributing guide.

To contribute to documentation reference thewriting guide.


[8]ページ先頭

©2009-2025 Movatter.jp