@primer/react
v37.14.0
An implementation of GitHub's Primer Design System using React
Install
npm
install
@primer/react
Bundle size
Dependencies
Downloads
SVG service
Dependencies
Dependencies
(26)
@github/relative-time-element
^4.4.3
@github/tab-container-element
^4.8.0
@lit-labs/react
1.2.1
@oddbird/popover-polyfill
^0.4.4
@primer/behaviors
^1.8.0
@primer/live-region-element
^0.7.1
@primer/octicons-react
^19.13.0
@primer/primitives
9.x || 10.x
@styled-system/css
^5.1.5
@styled-system/props
^5.1.5
@styled-system/theme-get
^5.1.2
@types/react-is
^18.2.1
@types/styled-system
^5.1.12
@types/styled-system__css
^5.0.16
@types/styled-system__theme-get
^5.0.1
clsx
^1.2.1
color2k
^2.0.3
deepmerge
^4.3.1
focus-visible
^5.2.0
history
^5.0.0
hsluv
1.0.1
lodash.isempty
^4.4.0
lodash.isobject
^3.0.2
react-intersection-observer
^9.4.3
react-is
^18.2.0
styled-system
^5.1.5
Peer Dependencies
(6)
@types/react
18.x || 19.x
@types/react-dom
18.x || 19.x
@types/styled-components
^5.1.11
react
18.x || 19.x
react-dom
18.x || 19.x
styled-components
5.x
Dev Dependencies
(99)
@actions/core
1.10.1
@babel/cli
7.23.9
@babel/core
7.24.5
@babel/parser
7.23.6
@babel/plugin-proposal-nullish-coalescing-operator
7.18.6
@babel/plugin-proposal-optional-chaining
7.21.0
@babel/plugin-transform-modules-commonjs
7.24.1
@babel/preset-react
7.26.3
@babel/preset-typescript
7.24.7
@figma/code-connect
1.2.4
@primer/css
^21.5.1
@rollup/plugin-babel
6.0.4
@rollup/plugin-commonjs
25.0.4
@rollup/plugin-node-resolve
15.1.0
@rollup/plugin-replace
6.0.2
@rollup/plugin-terser
0.4.4
@rollup/plugin-typescript
11.1.5
@rollup/plugin-virtual
3.0.2
@storybook/addon-a11y
^8.5.3
@storybook/addon-actions
^8.5.3
@storybook/addon-essentials
^8.5.3
@storybook/addon-interactions
^8.5.3
@storybook/addon-links
^8.5.3
@storybook/addon-storysource
^8.5.3
@storybook/preview-api
^8.5.3
@storybook/react
^8.5.3
@storybook/react-vite
^8.5.3
@storybook/source-loader
^8.4.7
@storybook/theming
^8.4.7
@testing-library/dom
^10.4.0
@testing-library/jest-dom
^6.4.5
@testing-library/react
^16.0.1
@testing-library/react-hooks
^8.0.1
@testing-library/user-event
^14.5.2
@types/lodash.groupby
4.6.9
@types/lodash.isempty
4.4.9
@types/lodash.isobject
3.0.9
@types/lodash.keyby
4.6.9
@types/node
20.12.11
@types/react
18.3.11
@types/react-dom
18.3.0
@types/react-test-renderer
18.3.0
@types/semver
7.5.8
@types/styled-components
^5.1.26
@vitejs/plugin-react
^4.3.3
ajv
8.16.0
axe-core
4.9.1
babel-core
7.0.0-bridge.0
babel-plugin-add-react-displayname
0.0.5
babel-plugin-dev-expression
0.2.3
babel-plugin-macros
3.1.0
babel-plugin-open-source
1.3.4
babel-plugin-styled-components
2.1.4
babel-plugin-transform-replace-expressions
0.2.0
babel-polyfill
6.26.0
change-case
5.4.3
concurrently
9.1.2
copyfiles
2.4.1
cross-env
7.0.3
fast-glob
3.3.2
filesize
10.1.6
front-matter
4.0.2
gzip-size
6.0.0
jest-css-modules
2.1.0
jest-environment-jsdom
29.7.0
jest-fail-on-console
3.2.0
jest-matchmedia-mock
1.1.0
jest-styled-components
7.2.0
jscodeshift
0.15.0
lodash.groupby
4.6.0
lodash.keyby
4.6.0
mdast-util-from-markdown
2.0.1
mdast-util-frontmatter
2.0.1
mdast-util-mdx
3.0.0
mdast-util-to-string
4.0.0
micromark-extension-frontmatter
2.0.0
micromark-extension-mdxjs
3.0.0
postcss-preset-primer
^0.0.0
react
18.3.1
react-dom
18.3.1
react-test-renderer
18.3.1
recast
0.23.7
rimraf
5.0.5
rollup
4.30.1
rollup-plugin-import-css
^0.0.0
rollup-plugin-postcss
4.0.2
rollup-plugin-visualizer
5.9.2
semver
7.6.3
storybook
^8.5.3
styled-components
5.3.11
terser
5.36.0
ts-toolbelt
9.6.0
tsx
4.7.0
typescript
^5.7.2
typescript-plugin-css-modules
5.1.0
unist-util-find
3.0.0
unist-util-find-before
4.0.0
unist-util-flat-filter
2.0.0
yaml
2.7.0