Lesson 35: Input Groups in Bootstrap 5

Input groups in Bootstrap 5 give you a way to extend an input control. Heres how to use input groups in Bootstrap 5.

Input groups in Bootstrap 5 provide a simple way to extend an input control. Here's how to use input groups in Bootstrap 5 .

 

Input Group

A class .input-groupis a container that enhances input by adding an icon, text, or a button before or after the input field as 'help text'.

To format the help text style, use the class .input-group-text:

Sample code:

 @ @example.com 

For example:

 Bootstrap Example 

Input Group for TipsMake.com.com

 @ @example.com  

 

Input Group Size

Use classes .input-group-smfor small input groups and .input-group-lgfor large input groups. Sample code:

 Small Default Large 

For example:

 Bootstrap Example 

Input Group Size

 Nhỏ Mặc định Lớn 

 

Multiple Inputs and Helpers

Add more inputs and addons like in the sample code:

 Person  One Two Three 

For example:

 Bootstrap Example 

Add more inputs or addons:

  Họ tên  TipsMake 1 TipsMake 2 TipsMake 3 

Input Group with checkbox and radio

You can also use checkboxes or radio buttons instead of text. Here's some sample code:

 

 

For example:

 Bootstrap Example 

Choose the page you like

  

Input Group buttons

Sample code:

     

For example:

 Bootstrap Example 

Input group button

     

 

Input Group with drop-down button

Add a dropdown button to the input group. Note that you don't need a 'wrapper' .dropdownas usual.

Sample code:

 

For example:

 Bootstrap Example 

Above are the things you need to know about creating Input Groups in Bootstrap 5. Hopefully, this Bootstrap tutorial with examples is helpful to you.

Related posts
Other Program articles
Category

System

Windows XP

Windows Server 2012

Windows 8

Windows 7

Windows 10

Wifi tips

Virus Removal - Spyware

Speed ​​up the computer

Server

Security solution

Mail Server

LAN - WAN

Ghost - Install Win

Fix computer error

Configure Router Switch

Computer wallpaper

Computer security

Mac OS X

Mac OS System software

Mac OS Security

Mac OS Office application

Mac OS Email Management

Mac OS Data - File

Mac hardware

Hardware

USB - Flash Drive

Speaker headset

Printer

PC hardware

Network equipment

Laptop hardware

Computer components

Advice Computer

Game

PC game

Online game

Mobile Game

Pokemon GO

information

Technology story

Technology comments

Quiz technology

New technology

British talent technology

Attack the network

Artificial intelligence

Technology

Smart watches

Raspberry Pi

Linux

Camera

Basic knowledge

Banking services

SEO tips

Science

Strange story

Space Science

Scientific invention

Science Story

Science photo

Science and technology

Medicine

Health Care

Fun science

Environment

Discover science

Discover nature

Archeology

Life

Travel Experience

Tips

Raise up child

Make up

Life skills

Home Care

Entertainment

DIY Handmade

Cuisine

Christmas

Application

Web Email

Website - Blog

Web browser

Support Download - Upload

Software conversion

Social Network

Simulator software

Online payment

Office information

Music Software

Map and Positioning

Installation - Uninstall

Graphic design

Free - Discount

Email reader

Edit video

Edit photo

Compress and Decompress

Chat, Text, Call

Archive - Share

Electric

Water heater

Washing machine

Television

Machine tool

Fridge

Fans

Air conditioning

Program

Unix and Linux

SQL Server

SQL

Python

Programming C

PHP

NodeJS

MongoDB

jQuery

JavaScript

HTTP

HTML

Git

Database

Data structure and algorithm

CSS and CSS3

C ++

C #

AngularJS

Mobile

Wallpapers and Ringtones

Tricks application

Take and process photos

Storage - Sync

Security and Virus Removal

Personalized

Online Social Network

Map

Manage and edit Video

Data

Chat - Call - Text

Browser and Add-on

Basic setup