Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@patternfly/react-core

Package Overview
Dependencies
Maintainers
0
Versions
2239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@patternfly/react-core

This library provides a set of common React components for use with the PatternFly reference implementation.

  • 6.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
52K
increased by11.12%
Maintainers
0
Weekly downloads
 
Created
Source

PatternFly React - Core

lerna PatternFly npm badge

This project provides the React core components for the PatternFly project.

Community: PatternFly website | Slack | Medium | Mailing list

Table of contents

  1. Setup
  2. Contribution guidelines
  3. License

Setup

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
    

    OR

  • Using yarn, run the following command to install:

    yarn add @patternfly/react-core
    
Project configuration

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.

import '@patternfly/react-core/dist/styles/base.css';
Example component usage
import { Button } from '@patternfly/react-core';

export default <Button variant="primary">Button</Button>;

All component documentation is available on PatternFly.org.

Advanced usage
  1. Applying Overpass font

Contribution guidelines

All React contributors must first be PatternFly community contributors. If you are already a PatternFly community contributor, check out the React contribution guidelines to make React contributions.

License

PatternFly React is licensed under the MIT License.

Keywords

FAQs

Package last updated on 24 Oct 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc