Skip to content

Shopify’s design system to help us work together to build a great experience for all of our merchants.

License

Notifications You must be signed in to change notification settings

Shopify/polaris

Folders and files

NameName
Last commit message
Last commit date
Mar 3, 2025
Mar 3, 2025
Dec 19, 2023
Apr 9, 2024
Mar 6, 2025
Jul 22, 2024
Feb 20, 2025
Mar 6, 2025
Feb 18, 2025
Feb 25, 2025
Feb 18, 2025
Mar 23, 2022
Jul 9, 2024
May 26, 2023
Mar 17, 2024
Jul 9, 2024
Sep 7, 2023
Jul 9, 2024
Oct 24, 2018
Oct 2, 2024
May 26, 2023
May 3, 2024
Nov 4, 2022
Feb 21, 2025
Mar 6, 2025
Apr 9, 2024
Apr 14, 2023
Jan 28, 2024
Aug 17, 2023
Jan 17, 2024

Repository files navigation

Polaris

Build. Contribute. Evolve. Shape the merchant experience for Shopify’s core product, the admin.

storybook npm version CI PRs Welcome

Status Owner Help
Active @shopify/polaris New issue

About this repo

The shopify/polaris repository is an intergalactic 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

Commands

Install dependencies and build workspaces

pnpm install && pnpm build

Run a command

One workspace

Run commands from a selected workspace using turbo 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 uses turbo run <command>.

Command Runs
pnpm changeset Adds a new changelog 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

Contribute to this repo

Pull requests are welcome. See the contribution guidelines for more information.

Licenses

Source code is under a custom 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 the Polaris Design Guidelines License Agreement