smrt
Open the smrt source on GitHub Switch to dark color scheme
← All UI components

Content · Components

ArticleCard

Displays an article preview card. Shows article title, excerpt, metadata, and tags in a card format. Links to the full article page.

Public export

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

Props

NameTypeRequiredDescription
articleArticleYesArticle data to display
showExcerptbooleanNoShow article excerpt/description
showDatebooleanNoShow publication date
showAuthorbooleanNoShow author name
showTagsbooleanNoShow tags

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation