Bar

The e-bar is a horizontal bar that can be used to group buttons, tabs, or other components.

Props

Explore the available props for the form component

PropertyDescriptionTypeDefault
absoluteIf true, the component will be positioned absolutely.booleanfalse
denseReduces the height of the component.booleanfalse
outlinedDisplays an outlined version of the component.booleanfalse
clippedIf true, causes the component to be placed above the drawer if one exists in the layoutbooleanfalse
colorApplies specified color to the component - supports only utility colors (for example primary or secondary)stringprimary
heightSets the height of the bar. By default, the bar has a height of 48px. You can set this property to a number or a string with a valid CSS unit.string numberundefined
fixedIf true, the bar will be fixed to the top of the viewport and never scroll with its content.booleanfalse
depressedRemves the box shadow effect from the bar.booleanfalse
appApplicable only when the component is a direct child of the e-app component, it allows the component to be integrated as part of the application layoutbooleanfalse

SASS Variables

NameDefault
$e-bar-padding-y0px !default;
$e-bar-padding-x16px !default;
$e-bar-heigth64px !default;
$e-bar-heigth--dense48px !default;
$e-bar-box-shadow
0 3px 1px -2px rgba(0, 0, 0, 0.2),
0 2px 2px 0 rgba(0, 0, 0, 0.14),
0 1px 5px 0 rgba(0, 0, 0, 0.12) !default;