Flowbite::Input::Checkbox

The checkbox component can be used to receive one or more selected options from the user in the form of a square box available in multiple styles, sizes, colors, and variants coded with the utility classes from Tailwind CSS and with support for dark mode.

https://flowbite.com/docs/forms/checkbox/

API reference

Inherits from Flowbite::Input

Constructor

def initialize(attribute:, form:, class: nil, disabled: false, options: {}, size: :default, unchecked_value: DEFAULT_UNCHECKED_VALUE, value: DEFAULT_CHECKED_VALUE)

See also

Ruby API documentation for class Flowbite::Input::Checkbox