Component Blueprints
Docked Form Footer
- HTML/CSS:Dev Ready
- Layout:Desktop Only
Sections
Docked form footer is used to dock form actions to the bottom of the viewport
About Docked Form footer#
The popover should be positioned with JavaScript.
When errors are found within a form, the user will be notified with a popover with the page-level errors listed out.
Accessibility#
Please provide a contextually specific title for the dialog with the aria-label attribute. e.g. "Acme Global edit form errors".
Base#
<div class="slds-docked-form-footer">
<button type="button" class="slds-button slds-button_neutral">Cancel</button>
<button type="button" class="slds-button slds-button_brand">Save</button>
</div>
With Error(s)#
<div class="slds-docked-form-footer">
<button class="slds-button slds-button_icon slds-button_icon slds-button_icon-error" title="Resolve error">
<svg class="slds-button__icon slds-button__icon_large" aria-hidden="true">
<use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#error"></use>
With Error Popover#
Resolve error
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore. Learn More
<div class="slds-docked-form-footer">
<button class="slds-button slds-button_icon slds-button_icon slds-button_icon-error" title="Resolve error">
<svg class="slds-button__icon slds-button__icon_large" aria-hidden="true">
<use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#error"></use>
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-docked-form-footer |
---|---|
Summary | Creates a docked form footer |
Support | dev-ready |
Restrict | div |
Variant | True |