@enso-ui/checkbox

Hierarchical checkbox managers and leaf checkbox lists for Enso UI.
9,714
Install
npm install @enso-ui/checkbox
Latest Version:4.0.6
Vue:3
Older releases:2
License:MIT
Last Updated:Aug 4, 2026
Links: GitHub  ·  npm
Maintainer: aocneanu

Checkbox

License Stable Downloads Vue JavaScript SCSS npm Issues Merge Requests

Description

Hierarchical checkbox managers for Enso UI.

Installation

Install the package:

yarn add @enso-ui/checkbox

This package is also available through the full enso-ui workspace bundle.

Features

  • exports CheckboxManager and CheckboxItems through the Bulma entrypoint
  • supports recursive grouped selections with tri-state visual feedback
  • mirrors the selected ids through the v-model contract
  • exposes item and checkbox slots so parent pages can customize rendering

Usage

<script setup>
import { CheckboxManager } from '@enso-ui/checkbox/bulma';
import { ref } from 'vue';

const selected = ref([]);
const items = {
    Warehouses: { _items: [{ id: 1, label: 'Main' }] },
    _items: [{ id: 2, label: 'Unassigned' }],
};
</script>

<CheckboxManager
    v-model="selected"
    :items="items"
    title="Permissions"
/>

API

CheckboxManager

Recursive card-based manager for grouped checkbox trees.

Import: @enso-ui/checkbox/bulma

Props:

  • collapsed: boolean = false initial collapsed state.
  • items: object grouped item tree with _items leaves.
  • modelValue: array selected ids.
  • title: string group title.

Events:

  • change
  • update:modelValue

Slots:

  • checkbox receives { updateBelow } for custom group checkbox rendering.
  • item receives { item } for custom leaf rendering.

CheckboxItems

Leaf checkbox list used by CheckboxManager and reusable on its own.

Import: @enso-ui/checkbox/bulma

Props:

  • items: array list of selectable { id, label } objects.
  • modelValue: array selected ids.

Events:

  • change
  • update:modelValue

Slots:

  • item receives { item } for custom item rendering.

Depends On

Contributions

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!

License

MIT

Related Packages

vue-checkbox-radio

Checkbox and radio component for Vue.js

32,732 97
@enso-ui/search-mode

Search mode selector for Enso UI tables.

12,314 0
@enso-ui/card

Composable Bulma card primitives for Enso UI.

12,279 0
@enso-ui/loader

Loaders, overlays, and skeleton placeholders for Enso UI

12,205 0
@enso-ui/switch

Switch input component for Enso UI.

11,145 0

Version History

Version Released Vue License
4.0.6 ^3.5.0 MIT
4.0.5 ^3.5.0 MIT
4.0.3 ^3.5.0 MIT
4.0.2 ^3.5.0 MIT
4.0.1 ^3.0 MIT