s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Content · Components

ArticleList

Grid or list of article cards

Public export

typescript
import { ArticleList } from '@happyvertical/smrt-content/svelte';
Import path
@happyvertical/smrt-content/svelte
Props
7
Props described
7 of 7
Bindable state
0
Callback events
0
Verified release
0.44.0

Props

NameTypeRequiredDescription
articlesArticle[]YesArray of articles to display
columnsnumber | 'auto'NoNumber of columns in grid (or 'auto')
showExcerptbooleanNoShow article excerpts
showDatebooleanNoShow publication dates
showAuthorbooleanNoShow author names
showTagsbooleanNoShow tags
emptyMessagestringNoMessage when no articles

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation