React js UI example. pricing tables with header with color

React js UI example and template, pricing tables with header with color! . 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,plans,pricing-table

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 id="pricing-tables" class="padding-top padding-bottom">
    <div class="container text-center">
        <div class="section-title">
            <h1>Pricing Tables</h1>
            <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ac augue at erat hendrerit dictum. Praesent porta, purus eget sagittis imperdiet.</p>
        </div>
        <div class="pricing-table  text-left">
            <div class="row">
                <div class="col-md-6 col-lg-3">
                    <div class="single-table">
                        <h2>Starter</h2>
                        <p class="price"><span class="dollar-icon">$</span><span>19</span> monthly</p>
                        <ul>
                            <li>5 Domain Names</li>
                            <li>1GB Dedicated Ram</li>
                            <li>5 Sub Domain</li>
                            <li>10 Addon Domain</li>
                            <li>24/7 Support</li>
                        </ul>
                        <a href="#/" class="btn btn-primary">Sign-up</a>
                    </div>
                </div>
                <div class="col-md-6 col-lg-3">
                    <div class="single-table featured-table">
                        <h2>Business</h2>
                        <p class="price"><span class="dollar-icon">$</span><span>129</span> monthly</p>
                        <ul>
                            <li>5 Domain Names</li>
                            <li>1GB Dedicated Ram</li>
                            <li>5 Sub Domain</li>
                            <li>10 Addon Domain</li>
                            <li>24/7 Support</li>
                        </ul>
                        <a href="#/" class="btn btn-primary">Sign-up</a>
                    </div>
                </div>
                <div class="col-md-6 col-lg-3">
                    <div class="single-table">
                        <h2>Basic</h2>
                        <p class="price"><span class="dollar-icon">$</span><span>49</span> monthly</p>
                        <ul>
                            <li>5 Domain Names</li>
                            <li>1GB Dedicated Ram</li>
                            <li>5 Sub Domain</li>
                            <li>10 Addon Domain</li>
                            <li>24/7 Support</li>
                        </ul>
                        <a href="#/" class="btn btn-primary">Sign-up</a>
                    </div>
                </div>
                <div class="col-md-6 col-lg-3">
                    <div class="single-table">
                        <h2>Ultra</h2>
                        <p class="price"><span class="dollar-icon">$</span><span>199</span> monthly</p>
                        <ul>
                            <li>5 Domain Names</li>
                            <li>1GB Dedicated Ram</li>
                            <li>5 Sub Domain</li>
                            <li>10 Addon Domain</li>
                            <li>24/7 Support</li>
                        </ul>
                        <a href="#/" class="btn btn-primary">Sign-up</a>
                    </div>
                </div>
            </div>
        </div>
        <div class="pricing-table-one pricing-table">
            <div class="row">
                <div class="col-md-6 col-lg-3">
                    <div class="text-center single-table">
                        <h2>Basic</h2>
                        <p class="price"><span class="dollar-icon">$</span><span>19</span> monthly</p>
                        <ul>
                            <li>5 GB Space</li>
                            <li>50 GB Bandwidth</li>
                            <li>70 Portfolio Items</li>
                            <li>20 Video Uploads</li>
                            <li>24/7 Support</li>
                        </ul>
                        <a href="#/" class="btn btn-primary">Sign Up</a>
                    </div>
                </div>
                <div class="col-md-6 col-lg-3">
                    <div class="text-center single-table featured-table">
                        <h2>Standard</h2>
                        <p class="price"><span class="dollar-icon">$</span><span>39</span> monthly</p>
                        <ul>
                            <li>5 GB Space</li>
                            <li>50 GB Bandwidth</li>
                            <li>70 Portfolio Items</li>
                            <li>20 Video Uploads</li>
                            <li>24/7 Support</li>
                        </ul>
                        <a href="#/" class="btn btn-primary">Sign Up</a>
                    </div>
                </div>
                <div class="col-md-6 col-lg-3">
                    <div class="text-center single-table">
                        <h2>Business</h2>
                        <p class="price"><span class="dollar-icon">$</span><span>89</span> monthly</p>
                        <ul>
                            <li>5 GB Space</li>
                            <li>50 GB Bandwidth</li>
                            <li>70 Portfolio Items</li>
                            <li>20 Video Uploads</li>
                            <li>24/7 Support</li>
                        </ul>
                        <a href="#/" class="btn btn-primary">Sign Up</a>
                    </div>
                </div>
                <div class="col-md-6 col-lg-3">
                    <div class="text-center single-table">
                        <h2>Ultra</h2>
                        <p class="price"><span class="dollar-icon">$</span><span>199</span> monthly</p>
                        <ul>
                            <li>5 GB Space</li>
                            <li>50 GB Bandwidth</li>
                            <li>70 Portfolio Items</li>
                            <li>20 Video Uploads</li>
                            <li>24/7 Support</li>
                        </ul>
                        <a href="#/" class="btn btn-primary">Sign Up</a>
                    </div>
                </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;}
/*========================
=====Pricing Table CSS====
=========================*/

#pricing-tables {
    overflow: hidden;
	margin-bottom:25px;
}

.pricing-table-one {
	margin-top:85px;
}

.single-table {
	background-color: #fafafa;
}

.single-table h2 {
	background-color: #f2f2f2;
	padding: 23px;
	margin-top: 0;
	margin-bottom: 0;
}

.price {
	font-size: 14px;
	background-color: #dedede;	
	padding:9px 23px;
	margin-bottom: 0;
}

.price span {
	font-size: 24px;
	font-weight: 700;
}

.price span.dollar-icon {
	font-size: 16px;
	font-weight: 400;
	position: relative;
	top: -5px;
}

.single-table ul {
	padding: 5px 23px;
}

.single-table ul li {
	margin-top: 15px;
}

.single-table .btn.btn-primary {
	background-color: #dedede;
	border: none;
	border-radius: 0;
	color: #454545;
	display: block;
	margin-bottom: 0;
	font-weight: 700;
	padding: 10px 0;	
	margin-top:40px;
}

.single-table.featured-table {	
	background-color: #f2f2f2;
}

.single-table.featured-table h2  { 
	color: #fff;
}

.single-table.featured-table .price {
	color: #fff;
}

.single-table.featured-table .btn.btn-primary, 
.single-table:hover .btn.btn-primary:hover{
	color:#fff;
}

.pricing-table-one  .single-table h2{	
	font-size: 18px;
	font-weight: 700;
	padding: 15px;
	text-align: center;
	text-transform: uppercase;
	border-bottom:1px solid #fff;
	color:#fff;
	border-radius:3px 3px 0 0;
}

.pricing-table-one .price span.dollar-icon {
  font-size: 48px;
  font-weight: 700;
  position: relative;
  top: 0;
}

.pricing-table-one .price span {
	font-size:48px;
	font-weight:700;
}

.pricing-table-one .price {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0;
  padding: 18px;
  text-align: center;
  color:#fff;
}

.pricing-table-one .single-table .btn.btn-primary {
	color:#000;
	padding:15px 0;
	border-radius:0 0 3px 3px;
	margin-top:0;
}

.pricing-table-one .single-table.featured-table .btn.btn-primary{
	color:#fff;
}

.single-table .btn.btn-primary:hover, 
.single-table.featured-table .btn.btn-primary:hover{
	color:#020202;
}

.single-table .btn.btn-primary:hover:after, 
.single-table .btn.btn-primary:hover:before {
	background-color:#f4c216;;
}

.pricing-table-one .single-table ul li {
	line-height: 55px;
	margin-top: 0;
}

.pricing-table-one .single-table ul li:nth-child(even) {
    background-color:#fcfcfc;
}

.pricing-table-one .single-table ul {
  margin: 0;
  padding:0;
}
.pricing-table-one .single-table.featured-table, .pricing-table-one .single-table {
	background-color:#fff;
}

#pricing-tables .section-title h2:before {
    background-image: url("../images/home/icons/pricing-title-icon.png");
}

.single-table.featured-table h2, .single-table.featured-table, .pricing-table-one .price {
    background-color: #e07894;
}

.single-table.featured-table .price, .pricing-table-one  .single-table h2, .pricing-table-one .single-table.featured-table .btn.btn-primary {
    background-color: #ce5a78;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.single-table ul li {
    margin-top: 15px;
}

.single-table.featured-table {
    background-color: #f2f2f2;
}

.single-table.featured-table .btn.btn-primary {
    background-color: #e07894;
}
.single-table.featured-table .btn.btn-primary, .single-table:hover .btn.btn-primary:hover {
    color: #fff;
}


Similar snippets

React js template and ui example Pricing options

Pricing options

React js template and ui example Pricing Plan With Size

Pricing Plan With Size

React js template and ui example Bootstrap Colored Panel Pricing Table

Bootstrap Colored Panel Pricing Table

React js template and ui example modern price section

modern price section

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example media profile

media profile

React js template and ui example bs4 page slider

bs4 page slider

React js template and ui example Background Radial Gradient Color

Background Radial Gradient Color