Form Text
Create block-level or inline-level form text.
Example
Block-level help text in forms can be created using <Form.Text>
. Inline help text can be flexibly implemented using any inline HTML element and utility classes like .text-muted
.
<Form> <Form.Label htmlFor="inputPassword5">Password</Form.Label> <Form.Control type="password" id="inputPassword5" aria-describedby="passwordHelpBlock" /> <Form.Text id="passwordHelpBlock" muted> Your password must be 8-20 characters long, contain letters and numbers, and must not contain spaces, special characters, or emoji. </Form.Text></Form>