React js UI example. invoice order receipt

React js UI example and template, invoice order receipt! . 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: invoice,receipt

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">
    				
					<div class="col-xs-12">
						<div class="grid invoice">
							<div class="grid-body">
								<div class="invoice-title">
									<div class="row">
										<div class="col-xs-12">
											<img src="http://vergo-kertas.herokuapp.com/assets/img/logo.png" alt="" height="35"/>
										</div>
									</div>
									<br/>
									<div class="row">
										<div class="col-xs-12">
											<h2>invoice<br/>
											<span class="small">order #1082</span></h2>
										</div>
									</div>
								</div>
								<hr/>
								<div class="row">
									<div class="col-xs-6">
										<address>
											<strong>Billed To:</strong><br/>
											Twitter, Inc.<br/>
											795 Folsom Ave, Suite 600<br/>
											San Francisco, CA 94107<br/>
											<abbr title="Phone">P:</abbr> (123) 456-7890
										</address>
									</div>
									<div class="col-xs-6 text-right">
										<address>
											<strong>Shipped To:</strong><br/>
											Elaine Hernandez<br/>
											P. Sherman 42,<br/>
											Wallaby Way, Sidney<br/>
											<abbr title="Phone">P:</abbr> (123) 345-6789
										</address>
									</div>
								</div>
								<div class="row">
									<div class="col-xs-6">
										<address>
											<strong>Payment Method:</strong><br/>
											Visa ending **** 1234<br/>
											[email protected]<br/>
										</address>
									</div>
									<div class="col-xs-6 text-right">
										<address>
											<strong>Order Date:</strong><br/>
											17/06/14
										</address>
									</div>
								</div>
								<div class="row">
									<div class="col-md-12">
										<h3>ORDER SUMMARY</h3>
										<table class="table table-striped">
											<thead>
												<tr class="line">
													<td><strong>#</strong></td>
													<td class="text-center"><strong>PROJECT</strong></td>
													<td class="text-center"><strong>HRS</strong></td>
													<td class="text-right"><strong>RATE</strong></td>
													<td class="text-right"><strong>SUBTOTAL</strong></td>
												</tr>
											</thead>
											<tbody>
												<tr>
													<td>1</td>
													<td><strong>Template Design</strong><br/>A website template is a pre-designed webpage, or set of webpages, that anyone can modify with their own content and images to setup a website.</td>
													<td class="text-center">15</td>
													<td class="text-center">$75</td>
													<td class="text-right">$1,125.00</td>
												</tr>
												<tr>
													<td>2</td>
													<td><strong>Template Development</strong><br/>Web development is a broad term for the work involved in developing a web site for the Internet (World Wide Web) or an intranet (a private network).</td>
													<td class="text-center">15</td>
													<td class="text-center">$75</td>
													<td class="text-right">$1,125.00</td>
												</tr>
												<tr class="line">
													<td>3</td>
													<td><strong>Testing</strong><br/>Take measures to check the quality, performance, or reliability of (something), especially before putting it into widespread use or practice.</td>
													<td class="text-center">2</td>
													<td class="text-center">$75</td>
													<td class="text-right">$150.00</td>
												</tr>
												<tr>
													<td colspan="3"></td>
													<td class="text-right"><strong>Taxes</strong></td>
													<td class="text-right"><strong>N/A</strong></td>
												</tr>
												<tr>
													<td colspan="3">
													</td><td class="text-right"><strong>Total</strong></td>
													<td class="text-right"><strong>$2,400.00</strong></td>
												</tr>
											</tbody>
										</table>
									</div>									
								</div>
								<div class="row">
									<div class="col-md-12 text-right identity">
										<p>Designer identity<br/><strong>Jeffrey Williams</strong></p>
									</div>
								</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;
background:#eee;
}

.invoice {
    padding: 30px;
}

.invoice h2 {
	margin-top: 0px;
	line-height: 0.8em;
}

.invoice .small {
	font-weight: 300;
}

.invoice hr {
	margin-top: 10px;
	border-color: #ddd;
}

.invoice .table tr.line {
	border-bottom: 1px solid #ccc;
}

.invoice .table td {
	border: none;
}

.invoice .identity {
	margin-top: 10px;
	font-size: 1.1em;
	font-weight: 300;
}

.invoice .identity strong {
	font-weight: 600;
}


.grid {
    position: relative;
	width: 100%;
	background: #fff;
	color: #666666;
	border-radius: 2px;
	margin-bottom: 25px;
	box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
}

Similar snippets

React js template and ui example company invoice

company invoice

React js template and ui example Simple invoice page

Simple invoice page

React js template and ui example Invoice receipt

Invoice receipt

React js template and ui example html invoice email template

html invoice email template

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example Gradients dashboard cards

Gradients dashboard cards

React js template and ui example invoice card

invoice card

React js template and ui example shopping cart checkout

shopping cart checkout