React js UI example. purple pricing plan

React js UI example and template, purple pricing plan! . 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,pricing-table,pricing-plan

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>
			<section id="pricing" class="our_pricing section-padding">
	<div class="container">
		<div class="row">
			<div class="section-title text-center">
				<h1 class="section-title-white">Pricing plan</h1>
				<p class="section-title-white">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce vitae risus nec dui venenatis dignissim. Aenean vitae metus in augue pretium ultrices.</p>
			</div>				
			<div class="col-xs-12 col-sm-4 col-lg-4">
				<div class="pricingTable pricingTable-2">
					<div class="pricingTable-header">
						<h3 class="title">Standard</h3>
						<h5 class="price-month">Per Month</h5>
						<h1 class="price-value">30 <span class="value-bg">$30</span></h1>							
					</div>
					<ul class="pricing-content">
						<li>5 website</li>
						<li>10 Subdomains</li>
						<li>15 Domains</li>
						<li>Unlimited Support</li>
					</ul>
					<a href="#/" class="btn btn-lg btn-price-bg">Sign Up</a>
				</div>
			</div>
			<div class="col-xs-12 col-sm-4 col-lg-4">
				<div class="pricingTable pricingTabletop pricingTable-2">
					<div class="pricingTable-header">
						<h3 class="title">Business</h3>
						<h5 class="price-month">Per Month</h5>
						<h1 class="price-value">60 <span class="value-bg">$60</span></h1>		
					</div>
					<ul class="pricing-content">
						<li>5 website</li>
						<li>10 Subdomains</li>
						<li>15 Domains</li>
						<li>Unlimited Support</li>
					</ul>
					<a href="#/" class="btn btn-lg btn-price-bg">Sign Up</a>
				</div>
			</div>
			<div class="col-xs-12 col-sm-4 col-lg-4">
				<div class="pricingTable pricingTable-2">
					<div class="pricingTable-header">
						<h3 class="title">Premium</h3>
						<h5 class="price-month">Per Month</h5>
						<h1 class="price-value">90 <span class="value-bg">$90</span></h1>		
					</div>
					<ul class="pricing-content">
						<li>5 website</li>
						<li>10 Subdomains</li>
						<li>15 Domains</li>
						<li>Unlimited Support</li>
					</ul>
					<a href="#/" class="btn btn-lg btn-price-bg">Sign Up</a>
				</div>
			</div>
		</div>
	</div>
</section>
		</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;}
.our_pricing {
    background-image: url(https://www.bootdey.com/image/280x280/9370DB/000000);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: top center;
    position: relative;
    margin-top:120px;
    padding:20px;
}

@media only screen and (max-width:480px) {
    .our_pricing {
        background-size: auto;
    }
}

.pricingTable {
    background: #fff none repeat scroll 0 0;
    color: #232434;
    margin-top: 30px;
    padding: 50px 15px;
    -webkit-box-shadow: 0px 19px 43px 0px rgba(17, 17, 17, 0.05);
    box-shadow: 0px 19px 43px 0px rgba(17, 17, 17, 0.05);
    -webkit-perspective: 700px;
    perspective: 700px;
    position: relative;
    text-align: center;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    z-index: 1;
}

@media only screen and (max-width:480px) {
    .pricingTable {
        margin-bottom: 60px;
    }
}

.pricingTabletop {
    margin-top: -30px;
}

.pricingTable .pricingTable-header {}

.pricingTable .title {
    display: block;
    font-size: 24px;
    font-weight: 600;
    text-transform: capitalize;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.pricingTable .price-month {
    font-size: 16px;
    font-weight: 500;
    margin-top: 5px;
}

.pricingTable .price-value {
    font-size: 170px;
    line-height: 112px;
    position: relative;
    color: #e4f1ff;
    margin: 40px 0;
}

@media only screen and (max-width:768px) {
    .pricingTable .price-value {
        font-size: 130px;
    }
}

.pricingTable .price-value .value-bg {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    color: #1386fc;
    font-weight: 600;
    font-size: 60px;
    line-height: 60px;
}

.pricingTable-2 .price-value {
    color: #e6e4ff;
}

.pricingTable-2 .price-value .value-bg {
    color: #7564e5;
}

.pricingTable .pricing-content {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.pricing-content-border {}

.pricing-content-border>li {
    border: 1px solid #eee;
    margin-bottom: 10px;
}

.pricingTable .pricing-content li {
    line-height: 40px;
}

@media only screen and (max-width: 990px) {
    .pricingTable {
        margin-bottom: 30px;
    }
}

@media only screen and (max-width: 767px) {
    .pricingTable {
        margin-bottom: 50px;
    }
}

.btn-price-bg {
    background: #7564e5;
    border: 2px solid #7564e5;
    border-radius: 5000px;
    color: #fff;
    display: inline-block;
    font-size: 16px;
    overflow: hidden;
    padding: 12px 40px;
    text-transform: capitalize;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.pricingTable:hover .btn-price-bg {
    background: #232434;
    color: #fff;
    border: 2px solid #232434;
}

.section-title {
    margin-bottom: 60px;
}

h1.section-title-white {
    color: #fff;
}
.section-title h1 {
    font-size: 44px;
    font-weight: 500;
    margin-top: 0;
    position: relative;
    text-transform: capitalize;
    margin-bottom: 15px;
}
p.section-title-white {
    color: #fff;
}
.section-title p {
    padding: 0 10px;
    width: 70%;
    margin: auto;
    letter-spacing: 1px;
}

Similar snippets

React js template and ui example bs4 beta pricing

bs4 beta pricing

React js template and ui example modern price section

modern price section

React js template and ui example Pricing table

Pricing table

React js template and ui example pricing table colors

pricing table colors

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example profile with data and skills

profile with data and skills

React js template and ui example career list

career list

React js template and ui example profile edit data and skills

profile edit data and skills