Use the Sign merge left icon
mainsign-merge-left icon is part of the Transportation category and is tagged with road, driving, and directions. It was added in version 1.10.0.repository·main·Indexed 27 days ago
https://github.com/twbs/iconsOfficial open-source SVG icon library for Bootstrap, providing over 2,000 icons. Version 1.13.1 supports integration via npm, Composer, CDN, embedded SVGs, SVG sprites, icon fonts, and CSS data URIs. Includes guidance on accessibility, Sass variable configuration, and local development setup using Hugo.
sign-merge-left icon is part of the Transportation category and is tagged with road, driving, and directions. It was added in version 1.10.0.Bootstrap Icons can be installed as a package containing processed SVGs.
To install via npm:
npm i bootstrap-iconsTo install via Composer (for Packagist users):
composer require twbs/bootstrap-iconsNew icons must be designed in Figma on a 16x16px grid and exported as flattened SVGs with fill (no stroke).
To process new icons added to the icons directory:
npm run icons to optimize SVGs with SVGO and normalize attributes.npm run pages to build permalink pages.Warning: Do not include auto-generated files such as font/** and bootstrap-icons.svg in your branch, as they cause conflicts and are typically updated in the dist files before a release.
Bootstrap Icons can be integrated into your application using several methods:
<img> element: Reference the icon files via an image tag.To use icon fonts quickly without local installation, include the Bootstrap Icons stylesheet from jsDelivr in your HTML <head> or via CSS @import.
HTML link:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@{{< param version >}}/font/bootstrap-icons.min.css">CSS import:
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@{{< param version >}}/font/bootstrap-icons.min.css");To make icons accessible:
aria-hidden="true".<img>, provide an alt attribute.<i> or <svg>, use role="img" and an aria-label.aria-label on the control itself.Examples:
<!-- alt on <img> -->
<img src="/assets/icons/bootstrap.svg" alt="Bootstrap" ...>
<!-- role and aria-label on <i> or <svg> -->
<i class="bi-github" role="img" aria-label="GitHub"></i>
<svg class="bi" role="img" aria-label="Tools">...</svg>
<!-- aria-label on the control -->
<button aria-label="Mute">
<svg aria-hidden="true">...</svg>
</button><img src="/assets/icons/bootstrap.svg" alt="Bootstrap" ...>To run the documentation server locally, clone the repository, install dependencies, and start the Hugo server:
git clone https://github.com/twbs/icons/
cd icons
npm i
npm startOnce started, access the documentation at http://localhost:4000.
When using Bootstrap in a Sass project, you may need to adjust the $bootstrap-icons-font-dir variable to point to the location of the font files (typically within node_modules). This is often required for bundlers like Vite or Parcel.
// Update the import directory to point to it's location within node_modules
$bootstrap-icons-font-dir: "bootstrap-icons/font/fonts";
// Import the Sass files as usual
@import "bootstrap-icons/font/bootstrap-icons";$bootstrap-icons-font-dir: "bootstrap-icons/font/fonts";
@import "bootstrap-icons/font/bootstrap-icons";When working with SVGs, consider these common issues and fixes:
focusable="false" to the <svg> element.<img>: Screen readers may skip SVGs in <img> tags. Add role="img" to the <img> element.svg4everybody polyfill.Include the icon web fonts via CSS, then use class names to reference icons (e.g., <i class="bi bi-alarm"></i>). You can change the appearance using font-size and color.
<i class="bi bi-alarm"></i>
<i class="bi bi-alarm" style="font-size: 2rem; color: cornflowerblue;"></i><i class="bi bi-alarm"></i>You can use SVGs within CSS using background-image. Ensure you escape special characters like # (use %23 for hex colors). The viewBox attribute is required for resizing with background-size, and the xmlns attribute is mandatory.
.bi::before {
display: inline-block;
content: "";
vertical-align: -.125em;
background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z' clip-rule='evenodd'/></svg>");
background-repeat: no-repeat;
background-size: 1rem 1rem;
}