Bootstrap type h2 icon

In this, we learn how to show type h2 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.

type h2
<i class="bi-type-h2"></i>

type h2

increase icon size using inline css

change icon color using inline css

use icon with html button tag

Full Code
<!Doctype html>
	<title>Bootstrap type h2 icon</title>
	<link rel="stylesheet" href="">
	<h1 align="center">Bootstrap type h2 icon</h1>

	<p>increase icon size using inline css</p>
		<i class="bi-type-h2"></i>
		<i class="bi-type-h2" style="font-size:20px"></i>
		<i class="bi-type-h2" style="font-size:30px"></i>
		<i class="bi-type-h2" style="font-size:40px"></i>
		<i class="bi-type-h2" style="font-size:50px"></i>

	<p>change icon color using inline css</p>
		<i class="bi-type-h2"></i>
		<i class="bi-type-h2" style="color:red"></i>
		<i class="bi-type-h2" style="color:blue"></i>
		<i class="bi-type-h2" style="color:green"></i>

	<p>use icon with html button tag</p>
		<button style="padding: 5px">
			<i class="bi-type-h2"></i> button
Icon With Anchor Tag

With Anchor Tag

<h1 align="center">with anchor tag</h1>
<a href="javascript:void(0);">
	<i class="bi-type-h2" style="font-size:16px"></i> Link
Icon With Input Tag

With Input Tag

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-type-h2"></i>
	<input type="text" class="form-control" placeholder="Input group example" aria-label="Input group example">
Icon With Button Tag

With Button Tag

<h1 align="center">with button tag</h1>
<button style="padding: 5px">
	<i class="bi-type-h2"></i> Button
Icon Html svg code

Icon Svg code

<h1 align="center">Icon Svg code</h1>
<svg xmlns="" width="16" height="16" fill="currentColor" class="bi bi-type-h2" viewBox="0 0 16 16">
  <path d="M7.638 13V3.669H6.38V7.62H1.759V3.67H.5V13h1.258V8.728h4.62V13h1.259zm3.022-6.733v-.048c0-.889.63-1.668 1.716-1.668.957 0 1.675.608 1.675 1.572 0 .855-.554 1.504-1.067 2.085l-3.513 3.999V13H15.5v-1.094h-4.245v-.075l2.481-2.844c.875-.998 1.586-1.784 1.586-2.953 0-1.463-1.155-2.556-2.919-2.556-1.941 0-2.966 1.326-2.966 2.74v.049h1.223z"/>

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.

More icons

SignUp with Email