Bootstrap snippet and html example. Shop categories

Bootstrap 4.4.1 snippet "Shop categories" with HTML, CSS, and JS. Copy, paste, and customize this responsive UI component for your project.
Tags: shop,categories,products,bs4,table,list

HTML code

Clean, semantic HTML that powers this Bootstrap 4.4.1 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.

<div class="container pb-5 mb-sm-2">
    <!-- Categories grid-->
    <div class="row no-gutters">
        <!-- Category-->
        <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>
        <!-- Category-->
        <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>
        <!-- Category-->
        <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>
        <!-- Category-->
        <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>
        <!-- Category-->
        <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>
        <!-- Category-->
        <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>
        <!-- Category-->
        <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>
        <!-- Category-->
        <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>

CSS code

Scoped CSS that styles the component. Paste it after Bootstrap 4.4.1 to keep the design, spacing, and responsiveness consistent.

body{margin-top:20px;}
img, figure {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

Similar snippets

Bootstrap example and template. bs4 Trending Articles

bs4 Trending Articles

Bootstrap example and template. Box Product List

Box Product List

Bootstrap example and template. ecommerce products with image description colors and add button

ecommerce products with image description colors and add button

Bootstrap example and template. New comments and popular post list

New comments and popular post list

Bootstrap example and template. Dashboard Statistics Overview

Dashboard Statistics Overview

Bootstrap example and template. product full detail

product full detail

Bootstrap example and template. Related Producs List

Related Producs List

Bootstrap example and template. bs4 beta media user list

bs4 beta media user list

FAQ

How do I use this snippet?

Include Bootstrap 4.4.1, paste the HTML, add the CSS block, and include the JS (if any) to mirror the live preview.

Can I use it in commercial projects?

Yes. It’s free for personal and commercial work; check the snippets license for details.

Is it responsive?

Yes. It inherits the responsive grid and components from Bootstrap 4.4.1.

Bootstrap example and template. Shop categories

About this bootstrap example/template

Optimized for copy‑paste: clean HTML, scoped CSS, and minimal JS so you can ship production‑ready UI faster and keep designs consistent.

Mobile‑first and responsive by default. Tested across modern browsers to reduce polish time on your project.

Already trusted in 9.4K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.

Bootstrap 4.4.1

<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'>

<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js'></script>

This code example is based on bootstrap 4.4.1 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working