Skip to content

Feedback Components

Components for displaying feedback and status information.

BvBanner

Banner · import { BvBanner } from "@baklavue/ui"

PropTypeDescription
titlestringBanner message text
iconBaklavaIconIcon name next to title
colorBannerColorprimary, success, danger, warning, info, neutral
closebooleanShow close button
closeIconBaklavaIconClose button icon
idstringUnique ID for localStorage persistence
tostringMake banner a link (href)
targetstringLink target (e.g. _blank)
actionsBannerAction[]Action buttons (label, variant, onClick)

Events: close

BvAlert

Alert · import { BvAlert } from "@baklavue/ui"

PropTypeDescription
variantAlertVariantsuccess, danger, info, warning
captionstringAlert title
descriptionstringAlert message
iconboolean | BaklavaIconIcon config
closablebooleanShow close button
closedbooleanClosed state

Events: Emits via BlAlertElement ref (open, close)

BvChip

Chip · import { BvChip } from "@baklavue/ui"

PropTypeDescription
textstring | numberText or number inside the chip
colorChipColorprimary, success, danger, warning, info, neutral
sizeChipSizexs, sm, md, lg
positionChipPositiontop-right, bottom-right, top-left, bottom-left
insetbooleanKeep chip inside rounded elements
standalonebooleanRender inline without wrapping content
showbooleanVisibility (default true)

Slots: default (wrapped element), content (override chip content)

BvBadge

Badge · import { BvBadge } from "@baklavue/ui"

PropTypeDescription
sizeBadgeSizeBadge size
iconBaklavaIconIcon name

BvTag

Tag · import { BvTag } from "@baklavue/ui"

PropTypeDescription
variantTagVariantselectable, removable
sizeTagSizesmall, medium, large
closablebooleanShow close button
selectedbooleanSelected state
disabledbooleanDisabled state
iconBaklavaIconIcon name

Events: update:selected, close

BvNotification

Notification · import { BvNotification } from "@baklavue/ui"

PropTypeDescription
durationnumberDefault duration (seconds)
noAnimationbooleanDisable animations

Container for toast notifications triggered via useNotification. Must be mounted for composable to work.

BvSkeleton

Skeleton · import { BvSkeleton } from "@baklavue/ui"

PropTypeDescription
variantSkeletonVarianttext, rectangle, circle
widthstringWidth (CSS value)
heightstringHeight (CSS value)
countnumberNumber of elements (for text lines)

BvSpinner

Spinner · import { BvSpinner } from "@baklavue/ui"

PropTypeDescription
sizestringCSS size (e.g. var(--bl-font-size-m))
variantstringSpinner style
labelstringAccessible label