Bootstrap, a popular open-source CSS framework, has been a game-changer for web developers, offering a robust set of pre-designed components and styles. With the release of Bootstrap 5, the framework has introduced numerous improvements, including a revamped input component. Let's dive into an example of using Bootstrap 5's input component and explore its features.

Before we proceed, ensure you have included the Bootstrap 5 CDN in your project's HTML file. The latest version can be added with the following script tag:

```html ```
Basic Bootstrap 5 Input Example
Let's start with a simple input example using Bootstrap 5. We'll create a basic text input with a label and placeholder text.

Here's the HTML code for a basic Bootstrap 5 input:
```html
Form Control Sizes

Bootstrap 5 allows you to change the size of form controls using the `form-control-lg` or `form-control-sm` classes. Here's an example:
```html
Disabled Inputs
To create a disabled input, add the `disabled` attribute to the input element. Here's an example:

```html
Input Groups
Input groups combine form controls within a single element. They are useful for adding labels, buttons, or other elements to an input field.
Here's an example of an input group with a text input and a button:

```html
Input Group Sizes
Like form controls, input groups can also have different sizes. Here's an example:




















```html
Bootstrap 5's input component offers numerous customization options, allowing you to create responsive and visually appealing forms. Explore the official Bootstrap 5 documentation for more examples and advanced usage.