Laravel EnsoLaravel Enso
Guide
Back End
Front End
GitHub
Guide
Back End
Front End
GitHub
  • Front End

    • Accessories
    • Addresses
    • Algolia
    • Audits
    • Auth
    • Bookmarks
    • Calendar
    • Card
    • Cargo Partner
    • Categories
    • Charts
    • Checkbox
    • Clipboard
    • Comments
    • Commercial
    • Companies
    • Confirmation
    • Currencies
    • Data Import
    • Date
    • Datepicker
    • Directives
    • Discounts
    • Divider
    • Documents
    • Dropdown
    • Dropdown Indicator
    • Eav
    • Emag
    • Emails
    • Enums
    • ERD
    • Facebook
    • Files
    • Filters
    • Financials
    • Forms
    • Frisbo
    • Google
    • Holidays
    • How to
    • Interactions
    • Inventory
    • IO
    • Laravel Validation
    • Loader
    • Localisation
    • Logs
    • Measurement Units
    • Meili Search
    • Menus
    • Mixins
    • Modal
    • Money
    • Monitored Emails
    • Notifications
    • Orderable Trees
    • Packaging Units
    • Pagination
    • People
    • Permissions
    • Product Lots
    • Products
    • Progress Bar
    • Progress Circle
    • Progress Indicator
    • Questionnaires
    • Quick View
    • Range Slider
    • Rating
    • Roles
    • Route Mapper
    • Sale Channels
    • Scroll to Top
    • Search Mode
    • Select
    • Sentry
    • Services
    • Smart Bill
    • SMS Advert
    • Strings
    • Switch
    • Tables
    • Tabs
    • Tasks
    • Teams
    • Textarea
    • Themes
    • Ticketing
    • Toastr
    • Transitions
    • Tree View
    • Tutorials
    • Typeahead
    • Typesense
    • UI
    • Uploader
    • UPS
    • User Groups
    • Users
    • Virtual Call Center
    • Vouchers
    • Webshop
    • WYSIWYG

Dropdown

LicenseStableDownloadsVueJavaScriptSCSSnpmIssuesMerge 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

  • @enso-ui/directives ↗
  • @enso-ui/dropdown-indicator ↗
  • @enso-ui/transitions ↗

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

Edit this page on GitHub
Last Updated: 4/21/2026, 12:02:15 PM
Prev
Documents
Next
Dropdown Indicator