# Restyle

[BASE product page](<https://base.akulich.dev/en/library/restyle/>) · [Resource](<https://github.com/shopify/restyle>)

ID: restyle · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A TypeScript library of theme\-driven React Native components: it connects sizes, colors, and variants to a typed design system\.

## Type

React Native / mobile development

## Entry type

library

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/restyle/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/restyle/#resource-access>)

Code and local use under MIT\.

## [Paid features and costs](<https://base.akulich.dev/en/library/restyle/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/restyle/#resource-access>)

Code and local use under MIT\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/restyle/#resource-tasks>)

- Type a mobile theme and component variants
- Connect typed styled components to a React Native screen

## Category IDs

- apps
- frontend

## Subcategory IDs

- apps\.reactnative
- frontend\.components

## Tags

- Restyle
- mobile
- Development

## Also known as

- shopify/restyle
- restyle\-react\-native
- react\-native\-restyle

## [Selection purpose](<https://base.akulich.dev/en/library/restyle/#resource-selection>)

Type a mobile theme and component variants

## [Choose this when](<https://base.akulich.dev/en/library/restyle/#resource-selection>)

- Type a mobile theme and component variants
- Connect typed styled components to a React Native screen

## [Requirements](<https://base.akulich.dev/en/library/restyle/#resource-selection>)

- Create a global theme with colors, spacing, and other tokens, and pass it to ThemeProvider\.

## [Limitations](<https://base.akulich.dev/en/library/restyle/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: MIT for the code; dependencies have separate licenses\.
- Restyle provides the foundation for a typed React Native design system; it is not a complete ready\-made set of all screens and controls\.

## [Questions before use](<https://base.akulich.dev/en/library/restyle/#resource-faq>)

### What can you use for free in Restyle?

Code and local use under MIT\.

### What additional costs might arise with Restyle?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for Restyle?

MIT for the code; dependencies have separate licenses\.

### How do you get started with Restyle?

Define colors/spacing and theme\-driven variants\. Connect typed styled components to a React Native screen\. Build the application and test the workflow on target devices\.

### Why does backgroundColor accept a name rather than an arbitrary token?

Theme types let TypeScript accept only colors declared in your theme and suggest them in the editor\. For example, define cardPrimaryBackground\.

### What does createTheme do?

The function checks the BaseTheme structure and preserves your values' specific types\. Pass the theme to ThemeProvider at the React tree root\.

## Sources for the selection guide

- [https://github\.com/shopify/restyle](<https://github.com/shopify/restyle>)
- [https://raw\.githubusercontent\.com/shopify/restyle/HEAD/README\.md](<https://raw.githubusercontent.com/shopify/restyle/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/shopify/restyle/HEAD/LICENSE\.md](<https://raw.githubusercontent.com/shopify/restyle/HEAD/LICENSE.md>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)
- [https://shopify\.github\.io/restyle/fundamentals/defining\-your\-theme/](<https://shopify.github.io/restyle/fundamentals/defining-your-theme/>)

## [Possible workflow](<https://base.akulich.dev/en/library/restyle/#resource-scenario>)

Type a mobile theme and component variants\.

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

## Before you start

- A React Native project and target devices\.
- A design, data, and platform requirements\.

## Steps

1. Define colors/spacing and theme\-driven variants\.
2. Connect typed styled components to a React Native screen\.
3. Build the application and test the workflow on target devices\.

## Check your result

- Behavior meets the project's iOS and Android requirements\.
- Check gestures, accessibility, and performance on the target device\.

## [License](<https://base.akulich.dev/en/library/restyle/#resource-license>)

MIT for the code; dependencies have separate licenses\.

## License explanations for the specified scope

### 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](<https://opensource.org/license/mit>)

## [Sources](<https://base.akulich.dev/en/library/restyle/#resource-sources>)

- [Official source](<https://github.com/shopify/restyle>)
- [Official source](<https://raw.githubusercontent.com/shopify/restyle/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/shopify/restyle/HEAD/LICENSE.md>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)
- [Official source](<https://shopify.github.io/restyle/fundamentals/defining-your-theme/>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
