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 Description
null Title of the item.
null Subheading of the item.
null Content of the item.
null Image of the item, check @image for documentation.
null Date of the item. Check @date for documentation.
null Read time of the item.
false If the item will be appearing standing or laying down.
null Link to the item.
null If the item has a placeholder image.

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.