bulma/docs/_includes/library/form/general.html
Jeremy Thomas 69877a652c Init v1
2024-03-21 16:11:54 +00:00

96 lines
2.3 KiB
HTML

<div class="field">
<label for="text" class="label">Name</label>
<div class="control">
<input id="text" class="input" type="text" placeholder="Text input">
</div>
</div>
<div class="field">
<label for="username" class="label">Username</label>
<div class="control has-icons-left has-icons-right">
<input id="username" class="input is-success" type="text" placeholder="Text input" value="bulma">
<span class="icon is-small is-left">
<i class="fas fa-user"></i>
</span>
<span class="icon is-small is-right">
<i class="fas fa-check"></i>
</span>
</div>
<p class="help is-success">This username is available</p>
</div>
<div class="field">
<label for="email" class="label">Email</label>
<div class="control has-icons-left has-icons-right">
<input id="email" class="input is-danger" type="email" placeholder="Email input" value="hello@">
<span class="icon is-small is-left">
<i class="fas fa-envelope"></i>
</span>
<span class="icon is-small is-right">
<i class="fas fa-exclamation-triangle"></i>
</span>
</div>
<p class="help is-danger">This email is invalid</p>
</div>
<div class="field">
<label for="subject" class="label">Subject</label>
<div class="control">
<div class="select">
<select id="subject">
<option>Select dropdown</option>
<option>With options</option>
</select>
</div>
</div>
</div>
<div class="field">
<label for="message" class="label">Message</label>
<div class="control">
<textarea id="mesage" class="textarea" placeholder="Textarea"></textarea>
</div>
</div>
<div class="field">
<div class="control">
<label for="terms" class="checkbox">
<input id="terms" type="checkbox">
I agree to the <a href="#">terms and conditions</a>
</label>
</div>
</div>
<div class="field">
<div class="control">
<label for="yes" class="radio">
<input id="yes" type="radio" name="question">
Yes
</label>
<label for="no" class="radio">
<input id="no" type="radio" name="question">
No
</label>
</div>
</div>
<div class="field is-grouped">
<div class="control">
<button class="button is-link">Submit</button>
</div>
<div class="control">
<button class="button is-link is-light">Cancel</button>
</div>
</div>