A `<sp-action-bar>` delivers a floating action bar that is a convenient way to deliver stateful actions in cases like selection mode. `<sp-action-bar>` can be deployed in two variants beyond the default: `[varient="fixed"]` to position the element in rela
npm install @spectrum-web-components/action-barA delivers a floating action bar that is a convenient way to deliver stateful actions in cases like selection mode. can be deployed in two variants beyond the default: [varient="fixed"] to position the element in relation to the page, and [variant=sticky] to position the content in relation to content that may scroll.



```
yarn add @spectrum-web-components/action-bar
Import the side effectful registration of via:
``
import '@spectrum-web-components/action-bar/sp-action-bar.js';
When looking to leverage the ActionBar base class as a type and/or for extension purposes, do so via:
``
import { ActionBar } from '@spectrum-web-components/action-bar';
`html`
2 selected
Use the emphasized attribute to add priority to the information that is delivered within your element:
`html`
2 selected
When using [variant="fixed"], the will display by default at the bottom left of the window and can be customized via CSS from the outside.
`html`Look down and to the left when toggling.
>
Toggle fixed action bar
When using [variant="sticky"], be sure you've spent some time touching up on how sticky really works to ensure the most successful delivery of your content.
`html``
Scroll down for toggle button
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
occaecat cupidatat non proident, sunt in culpa qui officia deserunt
mollit anim id est laborum.
>
Toggle sticky action bar
2 selected