News Item

The News Item component provides a reusable pattern for newsitem in the interface.

Newsitem

A plain newsitem component.

Standing

The standing variant of the newsitem component.

Stack

The stack variant of the newsitem component.

API

Parameter Default Type Description
null ?string -
null ?string -
null ?string -
null ?array -
null ?array -
null ?string -
false boolean -
null ?string -
null mixed -
null mixed -
null mixed -
null mixed -
null mixed -
null mixed -
null ?boolean -

CSS API

Variable Default Type Values Description
var(--space) range - Base spacing unit. Used for padding and margin inside components.
var(--border-width) range - Size
var(--color--surface-border) color - Manual companion token for borders on surface elements.
var(--color--surface-contrast) color - Used for text and icons on surface backgrounds with less contrast.
var(--font-size-400) range - Three steps above base in the type scale. Equivalent to h4.