Build. Contribute. Evolve. Shape the merchant experience for Shopifyβs core product, the admin.
Status | Owner | Help |
---|---|---|
Active | @shopify/polaris | New issue |
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
pnpm install && pnpm build
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 |
Pull requests are welcome. See the contribution guidelines for more information.
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