Banner
TheVBanner component is used to display important information to users in a prominent, temporary, and dismissable container. Banners should be displayed at the top of the screen and can contain actions.
Usage
Props
The main text content of the banner
Image URL for an avatar to display in the prepend area
Icon to display in the prepend area
Applies specified color to the component
Applies specified color to the background
Forces actions to stack vertically
Makes the banner stick to the top of the screen when scrolling
Limits the number of text lines. Options:
one, two, threeApplies border styles to the component
Adjusts the vertical height. Options:
default, comfortable, compactElevation level (0-24)
Sets the height of the component
Sets the maximum height of the component
Sets the maximum width of the component
Sets the minimum height of the component
Sets the minimum width of the component
Sets the width of the component
Positions the banner. Options:
top, bottom, start, endCSS position property. Options:
static, relative, fixed, absolute, stickyBorder radius of the banner
Specify a custom HTML tag to use on the root element
Forces mobile display breakpoint behavior
Slots
default
The default slot for custom banner content
prepend
Slot for content before the banner text (replaces icon/avatar)
text
Slot for custom text content
actions
Slot for action buttons