Skip to main content

<uizy-system-bar>

An optional top bar for system status, notifications, or branding. Sits at the very top of the viewport.

Attributes

AttributeDescription
shadowShadow intensity (1-24)

Usage

<uizy-system-bar> Status: Online | v1.0.0 </uizy-system-bar>

With Shadow

<uizy-system-bar shadow="6"> My Application </uizy-system-bar>

CSS Variables

VariableDefaultDescription
--uizy-system-bar-height24pxHeight of the system bar
--uizy-system-bar-layer40z-index
tip

Set --uizy-system-bar-height to 0px if not using a system bar.

Example

<uizy-app id="app">
<uizy-system-bar>
<span>🟢 Connected</span>
<span>v2.1.0</span>
</uizy-system-bar>

<!-- Other components -->
</uizy-app>

<style>
uizy-system-bar {
display: flex;
justify-content: space-between;
padding: 0 1rem;
background: #1a1a1a;
color: #fff;
font-size: 0.75rem;
}
</style>