React js UI example. Shop categories

React js UI example and template, Shop categories! . 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: shop,categories,products,bs4,table,list

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 pb-5 mb-sm-2">
    
    <div class="row no-gutters">
        
        <div class="col-lg-3 col-sm-4 col-6 category-card border border-collapse">
            <div class="card border-0">
                <a class="d-block" href="#/"><img class="d-block" src="https://www.bootdey.com/image/340x232/FF8C00/000000" alt="Computers &amp; Accessories"/></a>
                <div class="card-body pb-2">
                    <h2 class="h6 mb-2">Computers &amp; Accessories</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$149.80</span></span>
                    <div class="list-group list-group-flush font-size-sm"><a class="list-group-item list-group-item-action" href="#/">Laptops &amp; Tablets<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Desktop Computers<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Computer Accessories<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Computer Components<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Networking Products<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a></div>
                </div>
            </div>
        </div>
        
        <div class="col-lg-3 col-sm-4 col-6 category-card border border-collapse">
            <div class="card border-0">
                <a class="d-block" href="#/"><img class="d-block" src="https://www.bootdey.com/image/340x232/7B68EE/000000" alt="TV, Video &amp; Audio"/></a>
                <div class="card-body pb-2">
                    <h2 class="h6 mb-2">TV, Video &amp; Audio</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$78.00</span></span>
                    <div class="list-group list-group-flush font-size-sm"><a class="list-group-item list-group-item-action" href="#/">Smart TV Sets<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Blue-Ray Players<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Sound Systems<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Home Theaters<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a></div>
                </div>
            </div>
        </div>
        
        <div class="col-lg-3 col-sm-4 col-6 category-card border border-collapse">
            <div class="card border-0">
                <a class="d-block" href="#/"><img class="d-block" src="https://www.bootdey.com/image/340x232/FA8072/000000" alt="Smartphones &amp; Tablets"/></a>
                <div class="card-body pb-2">
                    <h2 class="h6 mb-2">Smartphones &amp; Tablets</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$127.00</span></span>
                    <div class="list-group list-group-flush font-size-sm"><a class="list-group-item list-group-item-action" href="#/">Apple iPhones<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Android Smartphones<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Apple iPads<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Android Tablets<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Phablets<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a></div>
                </div>
            </div>
        </div>
        
        <div class="col-lg-3 col-sm-4 col-6 category-card border border-collapse">
            <div class="card border-0">
                <a class="d-block" href="#/"><img class="d-block" src="https://www.bootdey.com/image/340x232/87CEFA/000000" alt="Cameras, Photo &amp; Videos"/></a>
                <div class="card-body pb-2">
                    <h2 class="h6 mb-2">Cameras, Photo &amp; Video</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$210.00</span></span>
                    <div class="list-group list-group-flush font-size-sm"><a class="list-group-item list-group-item-action" href="#/">Photo Cameras<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Video Cameras<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Action Cameras<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Tripods &amp; Stands<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Lenses<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a></div>
                </div>
            </div>
        </div>
        
        <div class="col-lg-3 col-sm-4 col-6 category-card border border-collapse">
            <div class="card border-0">
                <a class="d-block" href="#/"><img class="d-block" src="https://www.bootdey.com/image/340x232/20B2AA/000000" alt="Headphones"/></a>
                <div class="card-body pb-2">
                    <h2 class="h6 mb-2">Headphones</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$35.99</span></span>
                    <div class="list-group list-group-flush font-size-sm"><a class="list-group-item list-group-item-action" href="#/">Earbud Headphones<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Over-Ear Headphones<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Bluetooth Headphones<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Sports &amp; Fitness Headphones<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Noise-Cancelling Headphones<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a></div>
                </div>
            </div>
        </div>
        
        <div class="col-lg-3 col-sm-4 col-6 category-card border border-collapse">
            <div class="card border-0">
                <a class="d-block" href="#/"><img class="d-block" src="https://www.bootdey.com/image/340x232/FF69B4/000000" alt="Wearable Electronics"/></a>
                <div class="card-body pb-2">
                    <h2 class="h6 mb-2">Wearable Electronics</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$79.50</span></span>
                    <div class="list-group list-group-flush font-size-sm"><a class="list-group-item list-group-item-action" href="#/">Smart Watches<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Fitness Trackers<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Smart Glasses<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a></div>
                </div>
            </div>
        </div>
        
        <div class="col-lg-3 col-sm-4 col-6 category-card border border-collapse">
            <div class="card border-0">
                <a class="d-block" href="#/"><img class="d-block" src="https://www.bootdey.com/image/340x232/FF8C00/000000" alt="Printers &amp; Ink"/></a>
                <div class="card-body pb-2">
                    <h2 class="h6 mb-2">Printers &amp; Ink</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$54.00</span></span>
                    <div class="list-group list-group-flush font-size-sm"><a class="list-group-item list-group-item-action" href="#/">All-In-One<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Copying<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Faxing<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Photo Printing<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Printing Only<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Scanning<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a></div>
                </div>
            </div>
        </div>
        
        <div class="col-lg-3 col-sm-4 col-6 category-card border border-collapse">
            <div class="card border-0">
                <a class="d-block" href="#/"><img class="d-block" src="https://www.bootdey.com/image/340x232/9932CC/000000" alt="Video Games"/></a>
                <div class="card-body pb-2">
                    <h2 class="h6 mb-2">Video Games</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$19.00</span></span>
                    <div class="list-group list-group-flush font-size-sm"><a class="list-group-item list-group-item-action" href="#/">PlayStation 4<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Xbox One<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Nintendo Switch<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Video Games<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#/">Accessories<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style={{/*width: .875rem; height: .875rem;*/}}><polyline points="9 18 15 12 9 6"></polyline></svg></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;}
img, figure {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

Similar snippets

React js template and ui example bs4 account tickets

bs4 account tickets

React js template and ui example bs4 profile friend list

bs4 profile friend list

React js template and ui example Messages Board

Messages Board

React js template and ui example Shop cart

Shop cart

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example Invoice

Invoice

React js template and ui example file manager with folders recent files and members

file manager with folders recent files and members

React js template and ui example profile with activity log

profile with activity log