Skip to content
↑↓ to navigate↵ to openesc to close

Menu

Bloom Menu

Preview

Install

Add it with your package manager, or copy the source manually.

Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide

bunx --bun shadcn-vue@latest add @beui-vue/bloom-menu

Import the shared styles once in your application.

TSUsage
import BloomMenu from '@/components/beui/blocks/BloomMenu.vue'
import '@/components/beui/styles.css'

API Reference

items?
readonly BloomMenuItem[]
Default[ { label: "Doc" }, { label: "Board" }, { label: "Table" }, { label: "Folder" }, { label: "Reminder" }, { label: "Link" }, ]
@select?
(label: string) => void
Default—
labels?
Partial<typeof bloomMenuMessages>

Override any built-in string.

Default—
className?
string
Default—
#icon?
{ item: BloomMenuItem, index: number }

Icon of a cell; replaces the built-in glyph, like the `icon` component of an item in the React version.

Default—

Updated