Polaris
Shopify’s design system to help us work together to build a great experienc...
README
Polaris
Build. Contribute. Evolve. Shape the merchant experience for Shopify’s core product, the admin.
Status | Owner | Help |
---|---|---|
------ | ---------------- | ---------------------------------------------------------- |
Active | @shopify/polaris | [New |
About this repo
The shopify/polaris repository is an intergalactic monorepo made up of NPM packages, VSCode extensions, and websites.
- ```sh
- 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
- ```sh
- yarn && yarn build
- ```
Run a command
One workspace
Command | Runs |
---|---|
------------------------------------------------- | ------------------------------------ |
`yarn | Open |
`yarn | Open |
All workspaces
Command | Runs |
---|---|
----------------- | --------------------------------------------------------------------------------------------------------------------- |
`yarn | Adds |
`yarn | Lints |
`yarn | Tests |
`yarn | Build |
`yarn | Remove |
`yarn | Format |
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