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