@enso-ui/dropdown

Bulma and renderless dropdown components for Enso UI.
16,496
Install
npm install @enso-ui/dropdown
Latest Version:4.1.7
Vue:3
Older releases:2
License:MIT
Last Updated:Apr 27, 2026
Links: GitHub  ·  npm
Maintainer: aocneanu

Dropdown

License Stable Downloads Vue JavaScript SCSS npm Issues Merge Requests

Description

Dropdown provides both Bulma-flavored and renderless dropdown primitives for Enso UI.

The Bulma entrypoint renders trigger, menu, transition, and placement behavior, while the renderless layer owns keyboard navigation, registration, and selection flow.

Installation

Install the package:

yarn add @enso-ui/dropdown

This package can also be consumed outside the Enso ecosystem.

Features

  • exports Dropdown and DropdownItem from the Bulma entrypoint
  • exports CoreDropdown from the renderless entrypoint
  • supports keyboard navigation, selection tracking, click-outside closing, and up/down placement
  • composes cleanly with custom trigger, controls, and item slots

Usage

<script>
import { Dropdown, DropdownItem } from '@enso-ui/dropdown';

export default {
    components: { Dropdown, DropdownItem },
};
</script>

Renderless usage:

import { CoreDropdown } from '@enso-ui/dropdown/renderless';

API

Dropdown

Bulma-styled dropdown wrapper.

Import: @enso-ui/dropdown

Props:

  • opensUp: boolean default false

Methods:

  • show()
  • hide()

Slots:

  • trigger
  • label
  • controls
  • items

DropdownItem

Selectable Bulma dropdown item.

Import: @enso-ui/dropdown

Props:

  • selected: boolean default false

Events:

  • select

CoreDropdown

Renderless dropdown state owner.

Import: @enso-ui/dropdown/renderless

Props:

  • disableControls: boolean default false
  • disabled: boolean default false
  • dropdownClass: string default 'dropdown'
  • itemClass: string default 'dropdown-item'
  • manual: boolean default false

Events:

  • show
  • hide

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

@v-c/dropdown

dropdown ui component for vue

52,439 32
vue3-select-component

A flexible & modern select-input control for Vue 3.

649,098 119
vue-simple-search-dropdown

A Vue.js simple dropdown component with search

43,782 99
@gits-id/dropdown

GITS Dropdown Component

3,216
@enterdev/vue-karoo-dropdown

Vue dropdown component

1,569 0

Version History

Version Released Vue License
4.1.7 ^3.5.0 MIT
4.1.5 ^3.5.0 MIT
4.1.4 ^3.5.0 MIT
4.1.3 ^3.5.0 MIT
4.1.2 ^3.5.0 MIT