Switch

April 21, 2026 ยท View on GitHub

License Stable Downloads Vue JavaScript SCSS npm Issues Merge Requests

Description

Switch input component for Enso UI.

Installation

Install the package:

yarn add @enso-ui/switch

Features

  • exports VueSwitch as its public surface
  • keeps the Bulma presentation layer separate from the renderless/stateful layer where applicable

Usage

<script setup>
import VueSwitch from '@enso-ui/switch./src/bulma/VueSwitch.vue';
</script>

API

VueSwitch

Public export available from src/bulma/VueSwitch.vue.

Props:

  • disabled
  • readonly
  • modelValue

Events:

  • update:modelValue

Depends On

  • No additional Enso UI dependencies.

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