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

Menu

Dynamic Island

Preview

9:41

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/dynamic-island

Import the shared styles once in your application.

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

API Reference

DynamicIsland

view
string | null

Active view id. `null` shows the compact pill.

Default—
compact?
string

Compact pill content, shown when no view is active (or use the `compact` slot).

Default—
#default?
{ view: string | null }

DynamicIslandView elements.

Default—
className?
string
Default—
#compact?
slot
Default—

DynamicIslandView

id
string

The `view` value of the island that shows this content.

Default—
className?
string
Default—
#default?
slot

The content of this view.

Default—

Updated