Facebook Post

Facebook Post: Facebook feed post with reactions, comments, share counts, optional image, and the full action bar. Familiar layout, your content. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Facebook Post

npx motion-ui-skill add facebook-post

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • lucide-react
  • next
  • react
  • tailwind-merge

Source files

Facebook Post

Facebook feed post with reactions, comments, share counts, optional image, and the full action bar. Familiar layout, your content.

Install

npx motion-ui-skill add facebook-post

Dependencies

  • clsx
  • lucide-react
  • next
  • react
  • tailwind-merge

Usage

"use client";

import { FacebookPostCard } from "@/components/socials/facebook-post-card";

export function FacebookPostCardDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <FacebookPostCard />
    </div>
  );
}

API Reference

FacebookPostCard

Prop Type Default Required Description
className string — No Additional CSS classes

Browse this category