VBanner API
name | type | default |
|---|---|---|
string
| undefined | |
Designates a specific src image to pass to the thumbnail. | ||
string
| undefined | |
Applies specified color to the control’s background. Used on components that also support the color prop. - supports utility colors with or without | ||
string | number | boolean | false | |
Applies utility border classes to the component. To use it, you need to omit the | ||
string
| undefined | |
Applies specified color to the control - supports utility colors with or without | ||
'default' | 'comfortable' | 'compact' | 'default' | |
Adjusts the vertical height used by the component. | ||
string | number | undefined | |
Designates an elevation applied to the component between 0 and 5. You can find more information on the elevation page. | ||
string | number | undefined | |
Sets the height for the component. | ||
| string | (string | [string, number])[] | (new () => any) | FunctionalComponent | undefined | |
Apply a specific icon using the v-icon component. | ||
'one' | 'two' | 'three' | undefined | |
The amount of visible lines of text before it truncates. | ||
Anchor | undefined | |
Specifies the component’s location. Can combine by using a space separated string. | ||
string | number | undefined | |
Sets the maximum height for the component. | ||
string | number | undefined | |
Sets the maximum width for the component. | ||
string | number | undefined | |
Sets the minimum height for the component. | ||
string | number | undefined | |
Sets the minimum width for the component. | ||
boolean
| null | |
Applies the mobile banner styles. | ||
number | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | undefined | |
Overrides the display configuration default screen size that the component should be considered in mobile. | ||
'fixed' | 'static' | 'relative' | 'absolute' | 'sticky' | undefined | |
Sets the position for the component. | ||
string | number | boolean | undefined | |
Designates the border-radius applied to the component. This can be 0, xs, sm, true, lg, xl, pill, circle, and shaped. Find more information on available border radius classes on the Border Radius page. | ||
boolean
| false | |
Forces the banner actions onto a new line. This is not applicable when the banner has | ||
boolean
| false | |
Applies | ||
string | (new () => any) | FunctionalComponent | 'div' | |
Specify a custom tag used on the root element. | ||
string
| undefined | |
Specify content text for the component. | ||
string
| undefined | |
Specify a theme for this component and all of its children. | ||
boolean
| false | |
Removes any applied border-radius from the component. | ||
string | number | undefined | |
Sets the width for the component. | ||
name | default |
|---|---|
20px | |
20px | |
rgb(var(--v-theme-surface)) | |
( $banner-border-color, $banner-border-style, $banner-border-width, $banner-border-thin-width ) | |
settings.$border-color-root | |
map.get(settings.$rounded, 0) | |
settings.$border-style-root | |
thin | |
0 0 thin 0 | |
tools.theme-color('on-surface', var(--v-high-emphasis-opacity)) | |
('default': 0, 'comfortable': -1, 'compact': -2) | |
0 | |
tools.map-deep-get(settings.$typography, 'body-medium', 'size') | |
tools.map-deep-get(settings.$typography, 'label-large', 'line-height') | |
16px | |
8px | |
8px | |
16px | |
8px | |
8px | |
16px | |
absolute fixed sticky | |
24px | |
settings.$border-radius-root | |
36px | |
0 | |
1 | |
90px | |
( $banner-background, $banner-color ) | |
100% |