BASE

Tamagui

Tamagui

Development library / tool · Free

UI components, themes, and an optimizing compiler for React Native and the web: a shared interface for a mobile application and website.

Also known as: tamagui/tamagui

Resource illustration: Tamagui

Open resource ↗

What you can use for free

Tamagui code is available free of charge for local and commercial projects, subject to its license.

Paid features and costs

The core, components, and compiler are MIT. Takeout, paid templates, and Studio are not included in the free core license.

Access and limitations

Tamagui code is available free of charge for local and commercial projects, subject to its license. The core, components, and compiler are MIT. Takeout, paid templates, and Studio are not included in the free core license.

Use cases

  • Android/iOS mobile UI
  • Shared themes and app component states
  • Use shared UI components in React Native and a web application
  • Define themes and styles for multiple platforms with compiler optimization

Example workflow

A possible workflow; this is not a report of hands-on testing.

Android/iOS mobile UI with Tamagui.

Before you start

  • A working React Native; React; TypeScript project and a specific use case: Android/iOS mobile UI.
  • A design, interface states, or dataset; target screens and accessibility requirements.

Steps

  1. Check the project's stack and version against the current Tamagui documentation; add the package or the required source component.
  2. Implement the selected workflow with the supplied data, adapting styles and states to the project.
  3. Check the result in the target environment, remove sample data, and retain the notices required by the license.

Check your result

  • The example works in the chosen tech stack, including target dimensions and input errors.
  • Dependency size, keyboard behavior, and reduced motion suit the task; license terms are met.

Choosing Tamagui

Android/iOS mobile UI

Choose this when

  • Android/iOS mobile UI
  • Shared themes and app component states
  • Use shared UI components in React Native and a web application

Consider alternatives when

  • When choosing for this topic, compare Tamagui with React Native Elements. A candidate to compare under the topic: React Native and Expo. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
  • When choosing for this topic, compare Tamagui with React Native Paper. A candidate to compare under the topic: React Native and Expo. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

Requirements

  • Prepare a React or React Native project and Tamagui configuration; choose the required library parts.

Things to consider

  • Costs and limits of free use: The core, components, and compiler are MIT. Takeout, paid templates, and Studio are not included in the free core license.
  • Terms of use: MIT: permits commercial use, modification, and distribution of the code at no charge, provided the license text and copyright notice are retained.
  • The authors' claimed speed improvement in their example does not guarantee the same result in your application. Check paid template and additional product terms separately.

Frequently asked questions

What can you use for free in Tamagui?

Tamagui code is available free of charge for local and commercial projects, subject to its license.

What additional costs might arise with Tamagui?

The core, components, and compiler are MIT. Takeout, paid templates, and Studio are not included in the free core license.

What terms of use matter for Tamagui?

MIT: permits commercial use, modification, and distribution of the code at no charge, provided the license text and copyright notice are retained.

How do you get started with Tamagui?

Check the project's stack and version against the current Tamagui documentation; add the package or the required source component. Implement the selected workflow with the supplied data, adapting styles and states to the project. Check the result in the target environment, remove sample data, and retain the notices required by the license.

What parts make up Tamagui, and is the compiler required immediately?

@tamagui/core provides a shared styling system for React and React Native, tamagui supplies UI components, and @tamagui/static is the optimizing compiler. They can be adopted gradually. For the web, the compiler converts components to div and atomic CSS; native receives separate view optimizations.

Related tasks and approaches

  • React Native Elements

    A candidate to compare under the topic: React Native and Expo. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

  • React Native Paper

    A candidate to compare under the topic: React Native and Expo. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

License

MIT: permits commercial use, modification, and distribution of the code at no charge, provided the license text and copyright notice are retained.

MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

Technologies and topics

  • React Native
  • React
  • TypeScript
  • reactnative

Sources

Other resources