← ClaudeAtlas

bootstrap-formslisted

This skill should be used when the user asks about Bootstrap forms, Bootstrap form controls, Bootstrap input fields, Bootstrap select, Bootstrap checkboxes, Bootstrap radio buttons, Bootstrap switches, Bootstrap range inputs, Bootstrap input groups, Bootstrap floating labels, Bootstrap form validation, Bootstrap form layout, how to create Bootstrap forms, needs help with form styling and validation in Bootstrap, wants to create a form, add form validation, style form inputs, make an inline form, add floating labels to inputs, create a login form, build a registration form, or validate user input.
ronnieiscoo/bootstrap-expert · ★ 0 · Web & Frontend · score 63
Install: claude install-skill ronnieiscoo/bootstrap-expert
# Bootstrap 5.3 Forms Bootstrap provides comprehensive form styling including controls, layouts, validation states, and input groups. ## Form Controls ### Text Inputs ```html <div class="mb-3"> <label for="email" class="form-label">Email address</label> <input type="email" class="form-control" id="email" placeholder="name@example.com"> </div> <div class="mb-3"> <label for="password" class="form-label">Password</label> <input type="password" class="form-control" id="password"> </div> ``` ### Sizing To match input size with surrounding elements or emphasize important fields, use sizing classes. Use `.form-control-lg` for hero sections or primary CTAs. Use `.form-control-sm` for compact UIs like toolbars or inline forms. ```html <input class="form-control form-control-lg" type="text" placeholder="Large input"> <input class="form-control" type="text" placeholder="Default input"> <input class="form-control form-control-sm" type="text" placeholder="Small input"> ``` ### Disabled and Readonly Use `disabled` for fields users cannot interact with at all. Use `readonly` when values should be visible and selectable but not editable. Use `.form-control-plaintext` with `readonly` to display values without form styling. ```html <input class="form-control" type="text" disabled value="Disabled input"> <input class="form-control" type="text" readonly value="Readonly input"> <input class="form-control-plaintext" type="text" readonly value="Readonly plain text"> ``` ### File