
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@procore/core-react
Advanced tools
A set of React components implementing the design system spec.
Node 16+ YARN 4+
Install @procore/core-react from NPM.
yarn add @procore/core-react
Install the peer dependencies.
yarn add styled-components @procore/globalization-toolkit react-beautiful-dnd react react-dom
Install the optional peer dependencies if necessary.
yarn add formik
Core React's styled components handle all style inclusion except for two cases:
*,
::after,
::before {
box-sizing: border-box;
}
font-family: Inter, 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans SC',
'Noto Sans TC', Arial, sans-serif;
Named imports support tree shaking and types.
import { Button, ButtonProps } from '@procore/core-react'
import { Cog } from '@procore/core-icons'
export function ButtonCustom(props: ButtonProps) {
return <Button {...props} icon={<Cog />} />
}
To get started, type the following from the project root directory:
yarn
All commands below will be ran in the package directory:
cd packages/core-react
We use Storybook to develop. Stories are broken into two categories, Demos for interactions and Coverage for displaying variants.
yarn storybook
Testing currently consists of Jest snapshots and React Testing Library tests.
yarn test
Additional testing includes Visual Regression Testing (VRT) that is ran in CI, which compares pixel snapshots of Storybook Coverage stories.
yarn build
Bug reports and pull requests are welcome on GitHub at https://github.com/procore/core. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
In lieu of a formal styleguide, we use husky to create a precommit hook, which executes lint-staged to automatically format any git staged files using prettier.
The package is available under the Procore Developers License

Procore - building the software that builds the world.
Learn more about the #1 most widely used construction management software at procore.com
FAQs
React library of Procore Design Guidelines
The npm package @procore/core-react receives a total of 166,256 weekly downloads. As such, @procore/core-react popularity was classified as popular.
We found that @procore/core-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 301 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.