HTML code
Clean, semantic HTML that powers this Bootstrap 4.5.0 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.
Download<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.1/css/all.min.css" integrity="sha256-2XFplPlrFClt0bIdPgpz8H7ojnk10H69xRqd9+uTShA=" crossorigin="anonymous" />
<div class="container">
<div class="row justify-content-center">
<div class="col-12 col-lg-10 col-xl-8 mx-auto">
<h2 class="h3 mb-4 page-title">Settings</h2>
<div class="my-4">
<ul class="nav nav-tabs mb-4" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link" id="home-tab" data-toggle="tab" href="#home" role="tab" aria-controls="home" aria-selected="true">Profile</a>
</li>
<li class="nav-item">
<a class="nav-link active" id="profile-tab" data-toggle="tab" href="#profile" role="tab" aria-controls="profile" aria-selected="false">Security</a>
</li>
<li class="nav-item">
<a class="nav-link" id="contact-tab" data-toggle="tab" href="#contact" role="tab" aria-controls="contact" aria-selected="false">Notifications</a>
</li>
</ul>
<h5 class="mb-0 mt-5">Security Settings</h5>
<p>These settings are helps you keep your account secure.</p>
<div class="list-group mb-5 shadow">
<div class="list-group-item">
<div class="row align-items-center">
<div class="col">
<strong class="mb-2">Enable Activity Logs</strong>
<p class="text-muted mb-0">Donec id elit non mi porta gravida at eget metus.</p>
</div>
<div class="col-auto">
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="activityLog" checked="">
<span class="custom-control-label"></span>
</div>
</div>
</div>
</div>
<div class="list-group-item">
<div class="row align-items-center">
<div class="col">
<strong class="mb-2">2FA Authentication</strong>
<span class="badge badge-pill badge-success">Enabled</span>
<p class="text-muted mb-0">Maecenas sed diam eget risus varius blandit.</p>
</div>
<div class="col-auto">
<button class="btn btn-primary btn-sm">Disable</button>
</div>
</div>
</div>
<div class="list-group-item">
<div class="row align-items-center">
<div class="col">
<strong class="mb-2">Activate Pin Code</strong>
<p class="text-muted mb-0">Donec id elit non mi porta gravida at eget metus.</p>
</div>
<div class="col-auto">
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="pinCode">
<span class="custom-control-label"></span>
</div>
</div>
</div>
</div>
</div>
<h5 class="mb-0">Recent Activity</h5>
<p>Last activities with your account.</p>
<table class="table border bg-white">
<thead>
<tr>
<th>Device</th>
<th>Location</th>
<th>IP</th>
<th>Time</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<th scope="col"><i class="fe fe-globe fe-12 text-muted mr-2"></i>Chrome - Windows 10</th>
<td>Paris, France</td>
<td>192.168.1.10</td>
<td>Apr 24, 2019</td>
<td><a hreff="#" class="text-muted"><i class="fe fe-x"></i></a></td>
</tr>
<tr>
<th scope="col"><i class="fe fe-smartphone fe-12 text-muted mr-2"></i>App - Mac OS</th>
<td>Newyork, USA</td>
<td>10.0.0.10</td>
<td>Apr 24, 2019</td>
<td><a hreff="#" class="text-muted"><i class="fe fe-x"></i></a></td>
</tr>
<tr>
<th scope="col"><i class="fe fe-globe fe-12 text-muted mr-2"></i>Chrome - iOS</th>
<td>London, UK</td>
<td>255.255.255.0</td>
<td>Apr 24, 2019</td>
<td><a hreff="#" class="text-muted"><i class="fe fe-x"></i></a></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>CSS code
Scoped CSS that styles the component. Paste it after Bootstrap 4.5.0 to keep the design, spacing, and responsiveness consistent.
Downloadbody{
margin-top:20px;
color: #8e9194;
background-color: #f4f6f9;
}
.text-muted {
color: #aeb0b4 !important;
}
.text-muted {
font-weight: 300;
}FAQ
How do I use this snippet?
Include Bootstrap 4.5.0, 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.5.0.
About this bootstrap example/template
This free Bootstrap 4.5.0 snippet, profile security settings, was published on Nov 11th 2020, 09:06 by Bootdey Admin.
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 13.5K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.
Bootstrap 4.5.0
<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.5.0 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