Back to components
ComponentMockupFree

Instagram Post Mockup React component

A realistic Instagram post with a swipeable multi-photo carousel, double-tap-to-like heart burst, and like/comment/repost/share/save actions.

About the Instagram Post Mockup component

Instagram Post Mockup is a free recreation of an Instagram feed post. It shows an avatar with the story ring, the username, an optional verified badge and location, and a square photo carousel you can swipe. Below the photo are like, comment, repost, share and save icons, the likes line, the caption, the comment count and the date. Double-clicking the photo likes it with a heart burst.

Everything comes from props: media (an array of image URLs, capped by maxMedia, default 8), username, userAvatar, postDescription, location, timePosted, likesCount and commentsCount. theme can be light or dark, and borderRadius rounds the card. Counts of 1,000 or more are shortened to K and M. Each photo gets alt text like "rensato post photo 1 of 3", and like and save are toggle buttons with aria-pressed.

When to use it

Use it on social media marketing pages, influencer and agency portfolios, case studies and UGC sections, where a post in its native look is clearer than a plain image.

For X, TikTok or LinkedIn posts, use X Post Mockup, TikTok Post Mockup or LinkedIn Post Mockup.

Installation

Add the Instagram Post Mockup component to your project with the shadcn CLI. It lands in components/instagram-post-mockup.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/instagram-post-mockup

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

More Mockup components

X Post Mockup
Free
Browser Mockup
Free
TikTok Post Mockup
Free
Phone Mockup
Free
LinkedIn Post Mockup
Free
Phone Marquee Showcase