- Home
- Design system
- Elements
- Header
Header
Options
Basic usage
Contents are left aligned in the header by default.
Text
ds-text elements have specific styling within the header.
Menu button
The primary menu button can be included using the following specific styling.
Default
Animated menu label
Controls
Controls can include components such as buttons/selects and are right aligned in the header.
Component color
Header supports component color, and automatically sets the color of the logo and text based on the chosen color in both dark and light mode to optimize legibility.
In most cases you should use either the default (light) header or dark
style header – or use the data-coverage attribute to switch
styles.
Styles
Custom styles exist for specific use cases.
Dark style
User console style
If the ds-header has a data-coverage attribute, the following styles will be applied.
Soracom
User console
Soracom
User console
Manifest
The component manifest describes this component's API — its modifiers, structure, data attributes, CSS custom properties, accessibility notes, and example markup. It is consumed by tooling such as AI assistants and code generators.
Latest version: https://assets.soracom.io/sds/latest/ds-header/index.mjs