Bootstrap type underline icon

In this, we learn how to show type underline 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 underline
<i class="bi-type-underline"></i>

type underline

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 underline icon</title>
	<link rel="stylesheet" href="">
	<h1 align="center">Bootstrap type underline icon</h1>

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

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

	<p>use icon with html button tag</p>
		<button style="padding: 5px">
			<i class="bi-type-underline"></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-underline" 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-underline"></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-underline"></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-underline" viewBox="0 0 16 16">
  <path d="M5.313 3.136h-1.23V9.54c0 2.105 1.47 3.623 3.917 3.623s3.917-1.518 3.917-3.623V3.136h-1.23v6.323c0 1.49-.978 2.57-2.687 2.57-1.709 0-2.687-1.08-2.687-2.57V3.136zM12.5 15h-9v-1h9v1z"/>

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