Checkboxes

Simple but still nice looking checkboxes. Styled with CSS for a nicer appearance.

Radio buttons

Or why not Radio buttons that also went through a makeover.

Blade component parameters

Key Default value Type Available values Description
label string - Array of label items like labelText.
required false boolean - HTML5 validation on fields
value string - option value
checked false boolean - Set parameter to true if option should be checked on load
id string - The DOM id of the component.
classList [] array - Array containing wrapping classes array
attributeList [] array - Array containing keys and values rendered as attributes
containerAware false boolean true/false Makes the component container aware. Appends modifiers --size--xs/sm/md/lg to the component.
Settings location: /var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/Option/option.json