VOOZH about

URL: https://www.geeksforgeeks.org/css/spectre-forms-inline-form/

⇱ Spectre Forms Inline Form - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Spectre Forms Inline Form

Last Updated : 23 Jul, 2025

The Spectre Forms provide the most common control component used in a regular form. In this article, we will discuss the form inline forms. The form inline forms is an important component that can make any input field in a single line. Like In the previous articles we used radio, checkbox, etc they can be placed in a single line.

Forms Form Inline forms Class:

  • form-inline: This class is used to create a radio and checkboxes in a single line.

Syntax:

<label class="form-radio form-inline">

The below example illustrates the Spectre Forms Form Inline forms:

Example:

Output:

👁 Spectre Forms Form Inline forms
Spectre Forms Form Inline forms

Reference: https://picturepan2.github.io/spectre/elements/forms.html#forms-inline

Comment