Floating labels
BsForm renders a real <form> that styles the Bootstrap form classes inside it; @submitted reports a submit (without an action, the page reload is cancelled). BsFloatingLabel takes a control and then its <label>, and points a label without for at the control.
Basic usage
Source
<BsForm @submitted="sent++"> <BsFloatingLabel> <input type="email" class="form-control" placeholder="name@example.com" /> <label>Email address</label> </BsFloatingLabel></BsForm>