PatternFly React - Core
This project provides the React core components for the PatternFly project.
Table of contents
Before you begin, check out this overview of PatternFly to get familiar with the basic elements of the design system. These instructions also assume that an existing React project is set up. For more information on how to do this, please see our main README.
Install the @patternfly/react-core NPM package
Using npm, run the following command to install:
npm install @patternfly/react-core --save
Using yarn, run the following command to install:
yarn add @patternfly/react-core
Each PatternFly component already contains the CSS related to the component. In order to have consistent styles throughout the application, PatternFly Base CSS should be used in the project, or some components may diverge in appearance. This import statement should be placed before your main application component is imported.
Example component usage
All component documentation is available on PatternFly.org.
PatternFly React is licensed under the MIT License.