Skip to main content

Form Components

This page provides a summary of all Bulma-styled form components in Bestax, with a brief description, usage example, and links to full documentation for each. Use these components to build accessible, flexible, and visually consistent forms.


Checkbox

A Bulma-styled checkbox input for boolean choices. Pass the label as children; supports custom JSX and links.

Live Editor
<Checkbox> Stay Signed In </Checkbox>

View full documentation.


Checkboxes

Wraps multiple Checkbox components in a vertical group for lists of boolean options (e.g., preferences, to-do lists).

Live Editor
<Checkboxes>
  <Checkbox> Option 1 </Checkbox>
  <Checkbox> Option 2 </Checkbox>
</Checkboxes>

View full documentation.


Radio

A Bulma-styled radio button for mutually exclusive choices. Use the same name prop for grouping.

Live Editor
<>
  <Radio name="group"> Option A </Radio>
  <Radio name="group"> Option B </Radio>
</>

View full documentation.


Radios

Groups multiple Radio components vertically for single-choice lists (e.g., RSVP, selection lists).

Live Editor
<Radios>
  <Radio name="event"> Attend </Radio>
  <Radio name="event"> Decline </Radio>
</Radios>

View full documentation.


Input

A Bulma-styled text input supporting color, size, rounded, static/read-only, and loading states. Suitable for all standard text input types.

Live Editor
<Input placeholder="Your name" />

View full documentation.


TextArea

A Bulma-styled multi-line text input. Supports color, size, rounded, static/read-only, and fixed size.

Live Editor
<TextArea placeholder="Your message" rows={4} />

View full documentation.


Select

A Bulma-styled dropdown for single or multiple selections. Supports color, size, rounded, loading, and multiselect.

Live Editor
<Select>
  <option value="">Please select</option>
  <option value="option1">Option 1</option>
</Select>

View full documentation.


File

A Bulma-styled file input with support for color, size, boxed/fullwidth/align styles, icons, and filename display.

Live Editor
<File label="Choose a file..." />

View full documentation.


Field

A Bulma-styled form field container for labels, grouped controls, and horizontal layouts. Compose labeled, grouped, or horizontal form layouts.

Live Editor
<Field label="Email">
  <Input placeholder="[email protected]" />
</Field>

View full documentation.

tip

Use Field to group and label form controls for accessibility and layout.


Control

A Bulma-styled wrapper for form controls, providing consistent spacing, icon placement, and loading indicators.

Live Editor
<Control>
  <Input placeholder="Username" />
</Control>

View full documentation.

tip

Wrap inputs, selects, or textareas in Control for proper Bulma styling and icon support.


For more details and advanced usage, see the full documentation for each component linked above.