<form class="row g-3"> <div class="col-auto"> <label for="staticEmail2" class="visually-hidden">Email</label> <input type="text" readonly class="form-control-plaintext" id="staticEmail2" value="email@example.com"> </div> <div class="col-auto"> <label for="inputPassword2" class="visually-hidden">Password</label> <input type="password" class="form-control" id="inputPassword2" placeholder="Password"> </div> <div class="col-auto"> <button type="submit" class="btn btn-primary mb-3">Confirm identity</button> </div> </form>

form controls in bootsrap

Give textual form controls like <input> s and <textarea> s an upgrade with custom styles, sizing, focus states, and more.

form control bootstrap

<div class="mb-3"> <label for="exampleFormControlInput1" class="form-label">Email address</label> <input type="email" class="form-control" id="exampleFormControlInput1" placeholder="name@example.com"> </div> <div class="mb-3"> <label for="exampleFormControlTextarea1" class="form-label">Example textarea</label> <textarea class="form-control" id="exampleFormControlTextarea1" rows="3"></textarea> </div>

form controls in bootsrap