Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Polaris React (⚠️ Deprecated)

storybook npm version CI

The Shopify Polaris React library is deprecated.
We are no longer accepting contributions or feature requests in this repository.

On October 1, 2025, we released our Polaris 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.

Why Web Components?

Polaris Web Components provide a more technology-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.

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.

CommandRuns
pnpm turbo run dev --filter=@shopify/polarisOpen the react component storybook
pnpm turbo run dev --filter=polaris.shopify.comOpen polaris.shopify.com NextJS site

All workspaces

Run commands across all workspaces. This uses turbo run <command>.

CommandRuns
pnpm changesetAdds a new changelog entry
pnpm lintLints all workspaces
pnpm testTests all workspaces
pnpm type-checkBuild types and check for type errors
pnpm cleanRemove generated files
pnpm formatFormat 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

关于 About

Shopify's Polaris Design System - React implementation (Deprecated)
component-librarydesign-systemdesign-systemsdesign-tokensfigma-pluginiconsreactshopify-polaristypescriptvscode-extension

语言 Languages

TypeScript64.2%
MDX13.9%
HTML11.6%
CSS4.8%
SCSS3.2%
JavaScript2.3%
Handlebars0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
57
Total Commits
峰值: 17次/周
Less
More

核心贡献者 Contributors