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

Menu

Notification Stack

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/notification-stack

Import the shared styles once in your application.

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

API Reference

items
readonly NotificationStackItem[]
Default—
v-model:expanded?
boolean
Defaultundefined
defaultExpanded?
boolean
Defaultfalse
onViewAll?
() => void
Default—
maxVisible?
number
Default3
collapsedLabel?
string
Default—
expandedLabel?
string
Default—
emptyLabel?
string
Default—
labels?
Partial<typeof notificationStackMessages>

Override any built-in string.

Default—
className?
string
Default—
classNames?
NotificationStackClassNames
Default—
@expanded-change?
(value: boolean) => void
Default—

Updated