Introduction

CoreUI for React.js is UI Component library written in TypeScript, and ready for your next React.js project. Learn how to include CoreUI for React.js in your project.

Installation

Npm

npm install @coreui/[email protected]

Yarn

yarn add @coreui/[email protected]

Using components

import { Alert } from '@coreui/react';

Stylesheets

React components are styled using @coreui/coreui CSS library, but you can use them also with bootstrap CSS library. That is possible because @coreui/coreui library is compatible with bootstrap, it just extends its functionalities. The only exception is custom CoreUI components, which don't exist in the Bootstrap ecosystem.

CoreUI CSS files

Installation
npm install @coreui/[email protected]
Basic usage
import '@coreui/dist/css/coreui.min.css'

Bootstrap CSS files

Installation
npm install [email protected]
Basic usage
import 'bootstrap/dist/css/bootstrap.min.css'