BottomBar
import BottomBar from "@intility/bifrost-react/BottomBar";
Floating bottom bar
- Fixed positioning (will float on top of other content)
- Responsive vertical padding like
.bf-page-padding
(remove all padding withnoPadding
prop) - Automatically makes space for sidebar/collapsed sidebar/no sidebar with transition
- Height will adjust to its content
<BottomBar>
<Button>A button</Button>
</BottomBar>
<BottomBar>
<Button>A button</Button>
</BottomBar>
Demo with Nav sidebar
Inline layout
See <Inline>
for an easy way to place buttons and other inline content.
<BottomBar>
<Inline align="center">
<Button>Cancel</Button>
<Inline.Separator />
<span>Some text</span>
<Button variant="filled">Done</Button>
</Inline>
</BottomBar>
<BottomBar>
<Inline align="center">
<Button>Cancel</Button>
<Inline.Separator />
<span>Some text</span>
<Button variant="filled">Done</Button>
</Inline>
</BottomBar>