
Tamagui
Universal UI system and component kit for React Native and Web with an optimizing compiler for zero-runtime performance.

Overview
Tamagui is a universal UI system that enables developers to write UI once and deploy natively to iOS, Android, and Web with near-zero runtime overhead through its ahead-of-time optimizing compiler.
Key Features
- Optimizing Compiler: Extracts styles at build time into pure atomic CSS on Web and optimized StyleSheet objects on Native.
- Universal Components: 40+ accessible cross-platform UI components sharing a single codebase.
- Adaptive Theming Engine: Granular nested themes with zero extra runtime re-renders.
- Cross-Platform Animations: Works seamlessly with driver animations, React Native Reanimated, and CSS transitions.
Installation & Quick Start
npm install tamagui @tamagui/coreimport { Button, YStack } from 'tamagui';
export default function App() {
return (
<YStack gap="$3" padding="$4">
<Button theme="active">Universal Button</Button>
</YStack>
);
}Why Choose Tamagui?
- Best for: Universal apps using Expo, Next.js, and React Native needing top-tier 60fps performance across Web and Mobile.
- Not suitable for: Simple Web-only static sites that do not target mobile platforms.
Comments & Discussion
No comments yet. Be the first to share your experience or thoughts!
Related libraries
Curated by category & stackAmbient CSS
A physics-based lighting system for CSS calibrated against Blender raytraces. Define a light source, and all shadows, highlights, and gradients follow deterministically.
8bitcn/ui
Accessible retro 8-bit components and blocks built on shadcn/ui and Tailwind CSS. Open source, copy-paste, and crafted for modern React apps.
Astryx (Meta)
Meta's open source enterprise design system and React 19 component library with 170+ accessible components, StyleX integration, and agent-ready tooling.