Basker Docs

Inputs

Create input presets that set the look of form fields.

An input preset is a saved style for form fields. The Form, Newsletter, and Mailchimp blocks choose an input preset from an Input Preset picker.

Open Design → Inputs. The preview shows six types of field, for example a text field, a list, and a checkbox. Each field shows in four states: Empty, Filled, Focus, and Error.

The input editor with a new, untitled input. The Blank input starting point is selected. The preview shows sample form fields and each type of field in the Empty, Filled, Focus, and Error states.

A new input in the editor, before you save it.

  1. 1Save — Saves the input preset.
  2. 2Done — Closes the editor.
  3. 3Style — The width, border, rounding, and padding of the fields.
  4. 4Blank input — The selected starting point. Click it to choose another.
  5. 5Label — The look of the field labels.

Create an input preset

Click New

Click New. The input opens in the editor.

Choose a starting point

In the Preset picker, choose a starting point:

  • Classic box: full border, theme rounding.
  • Underline: bottom border only, no fill.
  • Soft fill: tinted field, no border.
  • Pill field: fully rounded with a thin border.

Name the preset

Enter a name that tells editors when to use the style.

Set the look

Set the options in the four sections below.

Save

Click Save.

To edit a preset later, select it and click Edit input.

Options

Style:

  • Width: Fill (default) or Custom. Custom shows a Custom width control from 10 to 100%.
  • Border: All (default), Underline, or None.
  • Border thickness: Theme (default) or Custom.
  • Rounding: Theme (default), None, Small, Medium, Large, or Full. Does not show when Border is Underline.
  • Padding: Small, Medium (default), or Large.

Label:

  • Label Position: Above (default) or Inline.
  • The paragraph style, font, style, and case of the field label.

Typography: the paragraph style of the text in the field, with options for the font, style, case, line height, and letter spacing.

Colours:

  • Background Color, Text Color, and Focus Color.
  • Border Color: does not show when Border is None.

Where to go next

On this page