- Notifications
You must be signed in to change notification settings - Fork1.2k
Shopify's Polaris Design System - React implementation (Deprecated)
License
Shopify/polaris-react
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
TheShopify Polaris React library is deprecated.
We are no longer accepting contributions or feature requests in this repository.
On October 1, 2025, we released ourPolaris Web Components for Shopify app development. We encourage Shopify App developers to adopt Polaris Web Components for new development.
This repository will remain available for historical purposes, but it will not receive updates or maintenance.
Polaris Web Components provide a moretechnology-agnostic foundation.
They work with every framework as well as plain JavaScript and server-rendered sites, enabling more Shopify App developers across more platforms to use Polaris.
Theshopify/polaris
repository is anintergalactic monorepo made up of NPM packages, VSCode extensions, and websites.
polaris/├── documentation# Documentation for working in the monorepo├── polaris-for-vscode# VS Code extension for Polaris├── polaris-icons# Icons for Polaris├── polaris-react# Components for @shopify/polaris package├── polaris-tokens# Design tokens for Polaris├── polaris.shopify.com# Documentation website└── stylelint-polaris# Rules for custom property usage and mainline coverage
pnpm install&& pnpm build
One workspace
Run commands from a selected workspace usingturbo run <command> --filter=<workspace>...
flag.
Command | Runs |
---|---|
pnpm turbo run dev --filter=@shopify/polaris | Open the react component storybook |
pnpm turbo run dev --filter=polaris.shopify.com | Open polaris.shopify.com NextJS site |
All workspaces
Run commands across all workspaces. This usesturbo run <command>
.
Command | Runs |
---|---|
pnpm changeset | Adds a newchangelog entry |
pnpm lint | Lints all workspaces |
pnpm test | Tests all workspaces |
pnpm type-check | Build types and check for type errors |
pnpm clean | Remove generated files |
pnpm format | Format files with prettier |
Pull requests are welcome. See thecontribution guidelines for more information.
Source code is under acustom license based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.
All icons and images are licensed under thePolaris Design Guidelines License Agreement
About
Shopify's Polaris Design System - React implementation (Deprecated)
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.