Header

The Header component provides a reusable pattern for header in the interface.

Basic

Primary color

Secondary color

Accented

Primary color accented

Secondary color accented

API

Parameter Default Description
header -
-
false -
false -
false -

CSS API

Variable Default Type Values Description
var(--space) range - Base spacing unit. Used for padding and margin inside components.
var(--color--surface) color - Surface
var(--color--surface-contrast) color - Used for text and icons on surface backgrounds with less contrast.
var(--color--primary) color - Primary
var(--color--primary-contrast) color - Primary Contrast
var(--color--primary-border) color - Manual companion token for primary border and hover states.
var(--color--secondary) color - Secondary
var(--color--secondary-contrast) color - Secondary Contrast
var(--color--secondary-border) color - Manual companion token for secondary border and hover states.
var(--base) range - Main unit that drives radius and spacing scales.
1 range - Scales the header logotype height locally without changing the global base size.

Similar components