Label

Style your form label element adding a label class, useful with radio, checkbox and switch elements.

<label for="my-checkbox" class="label">
    <input type="checkbox" class="checkbox has-mr-3" id="my-checkbox" />
    I agree with the terms of service.
</label>

Customize

The label element will apply the styles defined in the forms.label field of your theme configuration.

siimple.config.js
export default {
    forms: {
        label: {
            color: "inherit",
            fontWeight: "bold",
        },
    },
    // ...other configuration
};

Designed and maintained with by @jmjuanes.

Code is licensed under MIT, documentation under Creative Commons Attribution 4.0.

Currently v4.3.1