Skip to main content

  • Foundations
    • Border radius
    • Breakpoints
    • Colours
    • Colour scheme
    • Elevation
    • Focus and outline
    • Sizing and spacing
    • Layout
    • Motion
    • Typography
    • Z-index
  • Elements
    • Buttons
    • Code
    • Icons
    • Figure and caption
    • Forms
    • Links
    • Lists
    • Media
    • Tables
  • Components
    • Accordion
    • Alerts
    • Avatar
    • Blockquote
    • Breadcrumbs
    • Card
    • Chiplets
    • Details and summary
    • Dialog
    • Empty state
    • Stats
    • Global footer
    • Horizontal rule
    • Kanban
    • Key-value list
    • Meter
    • Objects
    • Pagination
    • Polka background
    • Post-it note
    • Progress
    • Speech bubbles
    • Status dot
    • Skeleton
    • Skip link
    • Spinner
    • Toggles
    • Tooltip
    • Webmentions
  • Patterns
    • Article header
    • Author card
    • App list and app sheet
    • Error page
    • Related posts
    • Search results
    • Utilities

John Peart

  • Search
  • Menu
John Peart

Forms

Inputs, selects, checkboxes, radios, progress, range, meter.

Text input

Optional helper text.
<label for="bp-text">Label</label>
<span class="label-hint">Optional helper text.</span>
<input type="text" id="bp-text" placeholder="Placeholder text">

Email, URL, password, search

Number, tel, date, time

Colour

File

Textarea

Select

Checkbox — inline

Checkboxes — fieldset

Pick any that apply
<fieldset class="checkboxes">
  <legend>Pick any that apply</legend>
  <div class="checkbox-input">
    <input type="checkbox" id="bp-check-1">
    <label for="bp-check-1">Option one</label>
  </div>
</fieldset>

Radio buttons

Choose an option

Range

Button

Progress

70%

Meter

30% 60% 90%

Invalid input

Inputs automatically show an outline when :invalid and unfocused.

A line drawing of John Peart

John Peart

www.johnpe.art

Mastodon logo

Mastodon

BlueSky logo

Bluesky

LinkedIn logo

LinkedIn

Github logo

GitHub