In this session, we'll explore Tamagui, a powerful platform that enables you to write, style, and optimize code that runs seamlessly across web and mobile platforms. With its own abstract component library and robust support for design token systems, Tamagui empowers developers to create univers...
In this session, we'll explore Tamagui, a powerful platform that enables you to write, style, and optimize code that runs seamlessly across web and mobile platforms. With its own abstract component library and robust support for design token systems, Tamagui empowers developers to create universal, time-saving code. However, like any innovative technology, it comes with its own philosophy, limitations, and learning curve. Join me to uncover how Tamagui works, its potential challenges, and strategies to harness its full potential for your projects.
Size: 3.28 MB
Language: en
Added: Oct 28, 2025
Slides: 40 pages
Slide Content
Eugene Zharkov
TAMAGUI
Bridging Web and Mobile Development
1
Content
•Design Tokens System
•Configuration
•Components System
•Animations
•Optimization
2
Opinionated but Flexible
my opinion
3
Pie
Simplified. Oversimplified.
reactreact-native
react-native-
web
tamagui
expo
Webpack
Vite
Metro
Next.js
!
One
!
!
!
!
!
!
!
!
!
4
Themes
Isolation
<View>
<Theme name="dark">
<Button>I have the theme dark<Button>
<Theme>
<Theme name="pink">
<Button>I have the theme pink-dark<Button>
<Theme>
<View>
29
Animations
I 'creatively acquired' this bullet list
•Animate any style prop with animation config per-prop.
•Can animate across all states (media queries, hover, etc).
•Three drivers you can swap out with type safety.
•@tamagui/animations-css,
•@tamagui/animations-react-native
•@tamagui/animations-moti
•SSR safe mount animations.
•Enter and exit animations with AnimatePresence.
30
@tamagui/static
•Extracts all types of styling syntax into atomic CSS.
•Removes a high % of inline styles with partial evaluation
and hoisting.
•Reduces tree depth, flattening expensive styled
components into div or View.
•Evaluates useMedia and useTheme hooks, turning logical
expressions into media queries and CSS variables.
34
Pros
•Provides seamless cross-platform components that look and feel native on
both web and mobile.
•Focused on optimization.
•Offers robust theming support with dynamic color schemes and dark mode
out-of-the-box.
•Developer Productivity. Simplifies UI development with reusable, customizable
components.
•Fully supports TypeScript, ensuring type safety and better developer
experience.
38
Cons
•Learning Curve. The beginning lacks momentum
•You should understand all the framework's features to determine the best
approach
•Flexibility can lead to inconsistency in patterns. Your team should align to stay
on the same wavelength
•Documentation has made significant progress but remains unstructured or
ambiguous in some areas (you can fix it)
•The source code is somewhat complex
39