In this, we learn how to show wallet fill icon in bootstrap, How do i increase its size and change color.
Use this icon with a tag.
Use this icon with input tag.
Use this icon with button tag.
Use this icon as svg.
<i class="bi-wallet-fill"></i>
increase icon size using inline css
change icon color using inline css
use icon with html button tag
<!Doctype html>
<html>
<head>
<title>Bootstrap wallet fill icon</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css">
</head>
<body>
<h1 align="center">Bootstrap wallet fill icon</h1>
<p>increase icon size using inline css</p>
<p>
<i class="bi-wallet-fill"></i>
<i class="bi-wallet-fill" style="font-size:20px"></i>
<i class="bi-wallet-fill" style="font-size:30px"></i>
<i class="bi-wallet-fill" style="font-size:40px"></i>
<i class="bi-wallet-fill" style="font-size:50px"></i>
</p>
<p>change icon color using inline css</p>
<p>
<i class="bi-wallet-fill"></i>
<i class="bi-wallet-fill" style="color:red"></i>
<i class="bi-wallet-fill" style="color:blue"></i>
<i class="bi-wallet-fill" style="color:green"></i>
</p>
<p>use icon with html button tag</p>
<p>
<button style="padding: 5px">
<i class="bi-wallet-fill"></i> button
</button>
</p>
</body>
</html>
<h1 align="center">with anchor tag</h1>
<a href="javascript:void(0);">
<i class="bi-wallet-fill" style="font-size:16px"></i> Link
</a>
Use this with bootstrap css.
<h1 align="center">with Input tag</h1>
<div class="input-group w-50">
<span class="input-group-text">
<i class="bi-wallet-fill"></i>
</span>
<input type="text" class="form-control" placeholder="Input group example" aria-label="Input group example">
</div>
<h1 align="center">with button tag</h1>
<button style="padding: 5px">
<i class="bi-wallet-fill"></i> Button
</button>
<h1 align="center">Icon Svg code</h1>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-wallet-fill" viewBox="0 0 16 16">
<path d="M1.5 2A1.5 1.5 0 0 0 0 3.5v2h6a.5.5 0 0 1 .5.5c0 .253.08.644.306.958.207.288.557.542 1.194.542.637 0 .987-.254 1.194-.542.226-.314.306-.705.306-.958a.5.5 0 0 1 .5-.5h6v-2A1.5 1.5 0 0 0 14.5 2h-13z"/>
<path d="M16 6.5h-5.551a2.678 2.678 0 0 1-.443 1.042C9.613 8.088 8.963 8.5 8 8.5c-.963 0-1.613-.412-2.006-.958A2.679 2.679 0 0 1 5.551 6.5H0v6A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-6z"/>
</svg>
Note :- You can use Bootstrap icons with i and span tag.
Note:- Use this icon with or without Bootstrap.
Download the svg of this icon and add in your document.