Checkbox X Demo

Thankful to Krajee!
to get more out of us.

Displaying checkboxes in various sizes (enhances and builds over bootstrap form input contextual sizes).


Not seeing the updated content on this page! Hard refresh your browser to clean cache for this page (e.g. SHIFT-F5 on Windows Chrome)

Set the checkbox sizes by setting the size property of the plugin. Choose from one of the following:

  • xs for Extra Small

  • sm for Small

  • md for Medium (this is the default)

  • lg for Large

  • xl for Extra Large

<div class="form-group">
    <input type="checkbox" id="check-1a" value="1" data-toggle="checkbox-x" data-size="xs">
    <input type="checkbox" id="check-2a" value="0" data-toggle="checkbox-x" data-size="xs">
    <input type="checkbox" id="check-3a" value="" data-toggle="checkbox-x" data-size="xs">
    <label>Extra Small</label>

<div class="form-group">
    <input type="checkbox" id="check-1b" value="1" data-toggle="checkbox-x" data-size="sm">
    <input type="checkbox" id="check-2b" value="0" data-toggle="checkbox-x" data-size="sm">
    <input type="checkbox" id="check-3b" value="" data-toggle="checkbox-x" data-size="sm">

<div class="form-group">
    <input type="checkbox" id="check-1c" value="1" data-toggle="checkbox-x" data-size="md">
    <input type="checkbox" id="check-2c" value="0" data-toggle="checkbox-x" data-size="md">
    <input type="checkbox" id="check-3c" value="" data-toggle="checkbox-x" data-size="md">

<div class="form-group">
    <input type="checkbox" id="check-1d" value="1" data-toggle="checkbox-x" data-size="lg">
    <input type="checkbox" id="check-2d" value="0" data-toggle="checkbox-x" data-size="lg">
    <input type="checkbox" id="check-3d" value="" data-toggle="checkbox-x" data-size="lg">

<div class="form-group">
    <input type="checkbox" id="check-1e" value="1" data-toggle="checkbox-x" data-size="xl">
    <input type="checkbox" id="check-2e" value="0" data-toggle="checkbox-x" data-size="xl">
    <input type="checkbox" id="check-3e" value="" data-toggle="checkbox-x" data-size="xl">
    <label>Extra Large</label>    

<div class="form-group">
    <input type="checkbox" id="check-1f" value="1" disabled data-toggle="checkbox-x" data-size="xl">
    <input type="checkbox" id="check-2f" value="0" disabled data-toggle="checkbox-x" data-size="xl">
    <input type="checkbox" id="check-3f" value="" disabled data-toggle="checkbox-x" data-size="xl">
    <label>Extra Large (Disabled)</label>    


You can now visit the Krajee Webtips Q & A forum for searching OR asking questions OR helping programmers with answers on these extensions and plugins. For asking a question click here. Select the appropriate question category (i.e. Krajee Plugins) and choose this current page plugin in the question related to field.

The comments and discussion section below are intended for generic discussions or feedback for this plugin. Developers may not be able to search or lookup here specific questions or tips on usage for this plugin.