The Huila lot rested nine days and it is ready. A pour-over brings out the red fruit: 15 g of coffee, 250 ml of water, about three minutes.
Tasting on Saturday at 10:00 with @maren_roasts. #pourover

Views24.6K
One post in a feed: author, time, text with links and tags, an optional image, and reply, repost and like counts.

'use client';
import { SocialPost } from '@brand-studio/ui';
import { pour } from '@/demos/assets';
export default function SocialPostDemo() {
return (
<div style={{ width: '100%', maxWidth: 560 }}>
<SocialPost author={{ name: 'Still Coffee', handle: 'stillcoffee', verified: true }} time="2h" media={pour} replies={18} reposts={42} likes={1280} views={24600}>
{'The Huila lot rested nine days and it is ready. A pour-over brings out the red fruit: 15 g of coffee, 250 ml of water, about three minutes.\n\nTasting on Saturday at 10:00 with @maren_roasts. #pourover'}
</SocialPost>
</div>
);
}pnpm add @brand-studio/uinpm install @brand-studio/uiyarn add @brand-studio/uibun add @brand-studio/uinpm install react react-domimport '@brand-studio/ui/styles.css';import { BrandTheme, SocialPost } from '@brand-studio/ui';
import brand from './brand.json';
<BrandTheme palette={brand.tokens} mode="system">
{/* your app */}
</BrandTheme>import { SocialPost } from '@brand-studio/ui';<SocialPost
author={{ name: 'Still Coffee', handle: 'stillcoffee', verified: true }}
time="2h"
dateTime="2026-10-08T07:30:00Z"
media={pour}
replies={18}
reposts={42}
likes={1280}
onLikeChange={liked => save(postId, liked)}
>
{'Tasting on Saturday at 10:00 with @maren_roasts. #pourover https://example.com/tasting'}
</SocialPost>Pass the text as a plain string and the post finds links, @mentions and #tags and sets them in the accent colour. Line breaks in the string become line breaks in the post. Pass elements instead when you want to mark up the body yourself.
Like and repost are toggles. Each press adds you to the count or takes you off it, and calls onLikeChange or onRepostChange, so you can save it. Counts over a thousand read as 1.3K. Leave out views to hide the views figure.
The avatar is the first letter of the name unless you pass avatar, such as an <img>.
aria-pressed.| Prop | Type | Default |
|---|---|---|
author | PostAuthor | – |
time | string | – |
dateTime? | string | – |
children | React.ReactNode | – |
media? | ImageAsset | – |
replies? | number | – |
reposts? | number | – |
likes? | number | – |
views? | number | – |
defaultLiked? | boolean | – |
defaultReposted? | boolean | – |
onReply? | (() => void) | – |
onLikeChange? | ((liked: boolean) => void) | – |
onRepostChange? | ((reposted: boolean) => void) | – |
className? | string | – |