PostEngagement

Views, likes and comments for a social post, in Roboto / text-xs with 14px icons.

Figma: 10 / Components / PostEngagement
1.2kviews86likes14comments

Usage

Source: src/components/ui/post-engagement.tsx
import { PostEngagement } from '@/components/ui/post-engagement'
<PostEngagement views='1.2k' likes='86' comments='14' />

When to use

When to reach for it, and when to use something else.

Use it for

Complete: Under a post in the source accordion detail rows.

Avoid

Not complete: Headline metrics; use Metrics for those.

PostEngagement

PropTypeDefaultDescription
viewsstring–Formatted view count.
likesstring–Formatted like count.
commentsstring–Formatted comment count.

GoodUnited design system. The Figma file is the source of truth for every color, type size and component.

Made with Modulify