Getting Started

Contrast Design Bootstrap React

React 18 & Bootstrap 5 elegant UI Kit and reusable components for building mobile-first, responsive websites and web apps

NPM JavaScript Style Guide npm


Be sure to have cdbreact installed in your project, you can follow the guides on our installation page to get cdbreact working on your project.

Below are some examples to show you how you can build your project using cdbreact components.

Alert Component Demo

import React from 'react';
import { CDBAlert } from 'cdbreact';
const AlertDemo = () => {
return <>
<CDBAlert color="primary">A simple alert built with contrast design</CDBAlert>
<CDBAlert color="danger" dismiss>A simple alert built with contrast design</CDBAlert>
export default Alert;

Button Component Demo

import React from "react";
import { CDBBtn, CDBContainer } from "cdbreact";
export const ButtonDemo = () => {
return (
<CDBBtn color="primary">Primary</CDBBtn>
<CDBBtn color="secondary">Secondary</CDBBtn>
<CDBBtn color="danger">Danger</CDBBtn>
<CDBBtn color="success">Success</CDBBtn>
<CDBBtn color="dark">Dark</CDBBtn>
<CDBBtn color="warning">Warning</CDBBtn>
<CDBBtn color="info">Info</CDBBtn>

cdbreact can be used on your projects to fit your projects needs. Yes, it's that easy! Check out the documentation for the components to see how you can use them.

Build modern projects using Bootstrap 5 and Contrast

Trying to create components and pages for a web app or website from scratch while maintaining a modern User interface can be very tedious. This is why we created Contrast, to help drastically reduce the amount of time we spend doing that. so we can focus on building some other aspects of the project.

Contrast Bootstrap PRO consists of a Premium UI Kit Library featuring over 10000+ component variants. Which even comes bundled together with its own admin template comprising of 5 admin dashboards and 23+ additional admin and multipurpose pages for building almost any type of website or web app.
See a demo and learn more about Contrast Bootstrap Pro by clicking here.