React js UI example. pricing table with black header

React js UI example and template, pricing table with black header! . Take a look at this UI example and see how it can enhance your project. Your can copy or download the code and use it in your project. Don't forget to browse our library of other free React Native templates for even more design and functionality inspiration. Happy coding!
Tags: pricing

1. First, we need fresh reactjs setup, and for that, we need to run below commands into out terminal, and also we should have latest node version installed on our system:

npx create-react-app my-awesome-project

cd my-awesome-project

npm start

2. Now we need to run below commands into our project terminal to get bootstrap and related modules into our reactjs application:

npm install [email protected] --save

npm start //For start project again

3. Finally for the main output, we need to add below code into our my-awesome-project/src/App.js file or if you have fresh setup then you can replace my-awesome-project/src/App.js file code with below code:

import React from 'react';
import './App.css';
import 'bootstrap/dist/css/bootstrap.min.css';


function App() {
  
	return (
		<div>
			<div class="container">
    <div class="row justify-content-center pb-5">
        <div class="col-lg-9 pb-lg-4 text-center">
            <h3 class="font-alt font-w-600 letter-spacing-2 text-uppercase title-xs-small title-extra-large-2">Our Pricing</h3>
            <p class="font-alt mb-0 mt-3 text-xs-large text-uppercase title-medium">What we can offer for our customers</p>
            <span class="bg-base-color d-inline-block mt-4 sep-line-thick-long"></span>
        </div>
        
    </div>
    
    
    <div class="row m-lg-0">
        <div class="col-md-6 col-lg-3 px-lg-0">
            <div class="pricing border-base-color border-top border-extra-thick box-shadow text-center">
                <div class="pricing-header bg-black border-base-color border-bottom border-medium-thick px-3 py-4">
                    <span class="d-block font-alt letter-spacing-2 text-uppercase text-white title-large">Starter</span>
                    <span class="price d-block mt-4 text-white">
                        <span class="symbol title-medium">$</span>
                        <span class="title-extra-large-5">18</span>
                        <span class="text-medium">/Month</span>
                    </span>
                    <p class="opacity-8 m-0 mt-3 text-small text-white"><i>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</i></p>
                </div>
                

                <div class="pricing-body">
                    <span class="bg-gray d-block p-4 text-large">4 Core Processor</span>
                    <span class="bg-white d-block p-4 text-large">100GB Storage</span>
                    <span class="bg-gray d-block p-4 text-large">24/7 Free Support</span>
                    <span class="bg-white d-block p-4 text-large">Weekly Backups</span>
                </div>
                

                <div class="pricing-footer bg-base-color">
                    <a href="#/" class="d-block font-alt font-w-600 letter-spacing-2 text-medium text-uppercase text-white p-3 w-100">Get Started</a>
                </div>
                
            </div>
            
        </div>
         
        
        <div class="col-md-6 col-lg-3 mt-5 mt-md-0 px-lg-0">
            <div class="pricing border-base-color border-top border-extra-thick box-shadow text-center">
                <div class="pricing-header bg-black border-base-color border-bottom border-medium-thick px-3 py-4">
                    <span class="d-block font-alt letter-spacing-2 text-uppercase text-white title-large">Basic</span>
                    <span class="price d-block mt-4 text-white">
                        <span class="symbol title-medium">$</span>
                        <span class="title-extra-large-5">29</span>
                        <span class="text-medium">/Month</span>
                    </span>
                    <p class="opacity-8 m-0 mt-3 text-small text-white"><i>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</i></p>
                </div>
                

                <div class="pricing-body">
                    <span class="bg-gray d-block p-4 text-large">4 Core Processor</span>
                    <span class="bg-white d-block p-4 text-large">300GB Storage</span>
                    <span class="bg-gray d-block p-4 text-large">24/7 Free Support</span>
                    <span class="bg-white d-block p-4 text-large">Daily Backups</span>
                </div>
                

                <div class="pricing-footer bg-base-color">
                    <a href="#/" class="d-block font-alt font-w-600 letter-spacing-2 text-medium text-uppercase text-white p-3 w-100">Get Started</a>
                </div>
                
            </div>
            
        </div>
         
        
        <div class="col-md-6 col-lg-3 mt-5 mt-lg-0 px-lg-0">
            <div class="pricing border-base-color border-top border-extra-thick box-shadow text-center">
                <div class="pricing-header bg-black border-base-color border-bottom border-medium-thick px-3 py-4">
                    <span class="d-block font-alt letter-spacing-2 text-uppercase text-white title-large">Pro</span>
                    <span class="price d-block mt-4 text-white">
                        <span class="symbol title-medium">$</span>
                        <span class="title-extra-large-5">50</span>
                        <span class="text-medium">/Month</span>
                    </span>
                    <p class="opacity-8 m-0 mt-3 text-small text-white"><i>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</i></p>
                </div>
                

                <div class="pricing-body">
                    <span class="bg-gray d-block p-4 text-large">4 Core Processor</span>
                    <span class="bg-white d-block p-4 text-large">1TB Storage</span>
                    <span class="bg-gray d-block p-4 text-large">24/7 Free Support</span>
                    <span class="bg-white d-block p-4 text-large">Hourly Backups</span>
                </div>
                

                <div class="pricing-footer bg-base-color">
                    <a href="#/" class="d-block font-alt font-w-600 letter-spacing-2 text-medium text-uppercase text-white p-3 w-100">Get Started</a>
                </div>
                
            </div>
            
        </div>
        
        
        <div class="col-md-6 col-lg-3 mt-5 mt-lg-0 px-lg-0">
            <div class="pricing border-base-color border-top border-extra-thick box-shadow text-center">
                <div class="pricing-header bg-black border-base-color border-bottom border-medium-thick px-3 py-4">
                    <span class="d-block font-alt letter-spacing-2 text-uppercase text-white title-large">Ultra</span>
                    <span class="price d-block mt-4 text-white">
                        <span class="symbol title-medium">$</span>
                        <span class="title-extra-large-5">99</span>
                        <span class="text-medium">/Month</span>
                    </span>
                    <p class="opacity-8 m-0 mt-3 text-small text-white"><i>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</i></p>
                </div>
                

                <div class="pricing-body">
                    <span class="bg-gray d-block p-4 text-large">4 Core Processor</span>
                    <span class="bg-white d-block p-4 text-large">3TB Storage</span>
                    <span class="bg-gray d-block p-4 text-large">24/7 Free Support</span>
                    <span class="bg-white d-block p-4 text-large">Hourly Backups</span>
                </div>
                

                <div class="pricing-footer bg-base-color">
                    <a href="#/" class="d-block font-alt font-w-600 letter-spacing-2 text-medium text-uppercase text-white p-3 w-100">Get Started</a>
                </div>
                
            </div>
            
        </div>
        
    </div>
    
</div>
		</div>
	);
}
export default App;

4. Now we need to add below code into our my-awesome-project/src/App.css file :

body{margin-top:20px;
background:#eee;
}
.border-base-color {
    border-color: #ef4135 !important;
}

.box-shadow {
    box-shadow: 0 0 25px 0 rgba(0,0,0,.05);
}
.border-extra-thick {
    border-width: 4px!important;
}
.border-top {
    border-top: 1px solid rgba(0,0,0,.1);
}
.text-center {
    text-align: center!important;
}
.border-top {
    border-top: 1px solid #dee2e6!important;
}
.bg-black {
    background-color: #000!important;
}
.title-large {
    font-size: 1.75rem!important;
    line-height: 2.275rem!important;
}
.pricing .price .symbol {
    bottom: 36px;
    position: relative;
}
.title-medium {
    font-size: 1.5rem!important;
    line-height: 2.25rem!important;
}
.title-extra-large-5 {
    font-size: 5rem!important;
    line-height: 5rem!important;
}
.text-medium {
    font-size: .875rem!important;
    line-height: 1.313rem!important;
}
.bg-base-color {
    background-color: #ef4135 !important;
}

Similar snippets

React js template and ui example pricing section

pricing section

React js template and ui example pricing plans with background curve

pricing plans with background curve

React js template and ui example bs4 promo pricing table

bs4 promo pricing table

React js template and ui example purple pricing plan

purple pricing plan

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example product catalog

product catalog

React js template and ui example bs4 shop cart

bs4 shop cart

React js template and ui example Jobs tabs

Jobs tabs