RepositoryTypeScript
tamagui

tamagui/tamagui

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

14.3ksao
628fork
70issue
5lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: atomic-css

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: optimizing-compiler

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: react-native-web

#1 Repository Của Tuần

🚀 Tamagui - Style nhanh trên React với hiệu năng tối ưu

Tamagui là tập hợp các thư viện giúp xây dựng UI chia sẻ code giữa React và React Native mà không hy sinh hiệu năng.

Tamagui là một bộ công cụ gồm @tamagui/core (thư viện style đa nền tảng), @tamagui/static (compiler tối ưu), và tamagui (bộ UI kit thích ứng mọi nền tảng). Dự án giúp chia sẻ nhiều code hơn giữa web và app native mà vẫn duy trì hiệu năng và chất lượng code.

✨ Điểm nổi bật

  • Compiler tối ưu: Chuyển đổi styled components thành div + atomic CSS trên web, View + style objects trên native.
  • Flatten components: 49/55 styled components trong trang chủ được flatten thành div, tăng 15% Lighthouse.
  • Setup linh hoạt: Dùng từ cơ bản qua import, mở rộng dần qua starters npm create tamagui@latest.
  • Đa nền tảng: Hỗ trợ React, React Native, React Native Web với độ tuân thủ 100%.
  • Bộ UI kit đầy đủ: Các component có thể tái sử dụng, tích hợp sẵn responsive design.
  • Thời gian biên dịch: Toàn bộ hệ sinh thái hoạt động ở compile-time và runtime.

💡 Vì sao đáng chú ý

Khác với CSS-in-JS truyền thống, Tamagui dùng compiler phân tích AST để tối ưu styled components tại thời gian build, giảm kích thước bundle và tăng tốc render. Đây là lựa chọn lý tưởng cho dự án cần chia sẻ UI giữa web và mobile mà không chấp nhận thỏa hiệp về hiệu năng.


#React #ReactNative #CSSinJS #Compiler #UIkit #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryTypeScript
storybookjs/storybook

Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation

91.8k
Nov 29, 2026
Repository
enaqx/awesome-react

A collection of awesome things regarding React ecosystem

75.4k
Sep 4, 2026
RepositoryTypeScript
necolas/react-native-web

Cross-platform React UI packages

22.2k
Nov 25, 2026
RepositoryTypeScript
shadcn-ui/ui

Composable, accessible components with thoughtful defaults. Build your own component library with code you can customize, extend, and make your own.

129.8k
Dec 2, 2026
RepositoryMDX
react-native-elements/react-native-elements

Cross-Platform React Native UI Toolkit

25.9k
May 21, 2026
RepositoryJavaScript
react/react

The library for web and native user interfaces.

253.0k
Nov 30, 2026
RepositoryC++
react/react-native

A framework for building native applications using React

127.0k
Nov 27, 2026
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

212.9k
Dec 2, 2026
RepositoryTypeScript
microsoft/vscode

Visual Studio Code

195.9k
Nov 30, 2026