Skip to main content

Banner

The Banner component is used as middle-interruptive message to user with 1-2 actions. It comes in 2 variations single-line and multi-line (implicit). These can have icons which you can use with your message and actions.

info

For more details about Vuetify’s usage of Banner component, click Banner page.
For more prop explanations, click Vuetify Banner API page.

Props

AttributeDescriptionTypeDefault
appWhen used inside of main, will calculate top based upon application Toolbar and system-bar.booleanfalse
classstringundefined
colorApplies specified colorstringundefined
darkApplies dark themebooleanfalse
elevationDesignates an elevation applied to the component between 0 and 24.number-stringundefined
hightSets the height for the component.number-stringundefined
iconDesignates a specific icon.stringundefined
iconColorDesignates a specific icon color.stringundefined
lightApplies the light themebooleanfalse
maxHeightSets the maximum height for the component.number-stringundefined
maxWidthSets the maximum width for the component.number-stringundefined
minHeightSets the minimum height for the component.number-stringundefined
minWidthSets the minimum width for the component.number-stringundefined
mobileBreakpointSets the designated mobile breakpoint for the component.number-stringundefined
outlinedRemoves elevation (box-shadow) and adds a thin border.booleanfalse
roundedDesignates the border-radius applied to the component.boolean-stringundefined
shapedApplies a large border radius on the top left and bottom right of the card.booleanfalse
singleLineForces the banner onto a single line.booleanfalse
stickyApplies position: sticky to the component (Evergreen browsers only).booleanfalse
tagSpecify a custom tag used on the root element.string'div'
tileRemoves the component’s border-radius.booleanfalse
valueControls whether the component is visible or hidden.booleantrue
widthSets the width for the component.boolean-stringundefined