Docked Utility Bar
- HTML/CSS:Dev Ready
- Layout:Desktop Only
Sections
About Docked Utility Bar#
Fixed bar at the bottom of viewport, that contains items.
Base#
<footer class="slds-utility-bar_container" aria-label="Utility Bar">
<h2 class="slds-assistive-text">Utility Bar</h2>
<ul class="slds-utility-bar">
<li class="slds-utility-bar__item">
States#
Panel open#
<footer class="slds-utility-bar_container" aria-label="Utility Bar">
<h2 class="slds-assistive-text">Utility Bar</h2>
<ul class="slds-utility-bar">
<li class="slds-utility-bar__item">
Item has notification#
<footer class="slds-utility-bar_container" aria-label="Utility Bar">
<h2 class="slds-assistive-text">Utility Bar</h2>
<ul class="slds-utility-bar">
<li class="slds-utility-bar__item">
Item has popout#
If the utility bar item is active and its panel is popped open in a new window, use .slds-utility-bar__item_pop-out
on the .slds-utility-bar__item
. This will add a visual indicator to communicate that the panel is opened in a new window.
<footer class="slds-utility-bar_container" aria-label="Utility Bar">
<h2 class="slds-assistive-text">Utility Bar</h2>
<ul class="slds-utility-bar">
<li class="slds-utility-bar__item">
Overview of CSS Classes#
- Selector
- The CSS class being referred to.
- Summary
- A description of what the class does.
- Support
- Whether the class name is dev-ready (meaning it's fully vetted and tested and safe to use) or prototype (which means it's not fully vetted yet).
- Restrict
- The selector that the class name is allowed to be used on.
- Variant
- The base level pattern for a component. A variant can be extended to create another variant of that component, for example, a stateful button is a derivative of the base button.
- Modifier
- A single class that can be added to an HTML element of a component to modify its output. Typically these will be colors, sizing and positioning.
Selector | .slds-utility-bar_container |
---|---|
Summary | Fixed bar at the bottom of viewport, that contains items |
Support | dev-ready |
Restrict | footer |
Variant | True |
Selector | .slds-utility-bar |
---|---|
Summary | Fixed bar at the bottom of viewport, contains items |
Restrict | .slds-utility-bar_container ul |
Selector | .slds-indicator_unread |
---|---|
Summary | Notification indicator |
Restrict | .slds-utility-bar abbr |
Selector | .slds-utility-bar__item |
---|---|
Summary | Items that invoke specific utility bar panel |
Restrict | .slds-utility-bar li |
Selector | .slds-utility-bar__item_pop-out |
---|---|
Summary | Modifier to add pop out element |
Restrict | .slds-utility-bar__item |
Modifier | True |
Selector | .slds-has-notification |
---|---|
Summary | Creates styles for a utility bar item when it has a notification within its panel |
Restrict | .slds-utility-bar__item |
Selector | .slds-indicator_unread |
---|---|
Summary | Unread notification icon |
Restrict | .slds-has-notification span |
Selector | .slds-utility-bar__action |
---|---|
Summary | Button that invokes utility panel |
Restrict | .slds-utility-bar button |
Selector | .slds-is-active |
---|---|
Summary | |
Restrict | .slds-utility-bar__action |
Modifier | True |
Selector | .slds-utility-bar__text |
---|---|
Summary | Container for utility bar item text, allows for multi-line text output |
Restrict | .slds-utility-bar__action > span |
Selector | .slds-utility-panel |
---|---|
Summary | Container of the utility panel |
Restrict | .slds-utility-bar_container div |
Selector | .slds-is-open |
---|---|
Summary | |
Restrict | .slds-utility-panel |
Modifier | True |
Selector | .slds-utility-panel__header |
---|---|
Summary | Header that contains an icon, title and panel actions such as minimizing the panel |
Restrict | .slds-utility-panel div |
Selector | .slds-utility-panel__body |
---|---|
Summary | Area that contains the utility panel feature |
Restrict | .slds-utility-panel div |
Docked Utility Bar Release Notes
2.11.0
Fixed
- The popout indicator icon now positions itself correctly in the right-to-left context.