Feature 180 - Version history with inline diffPro

A version list with author avatars on the left; selecting a version shows its added and removed lines as an inline diff with a restore button.

About Feature 180

A version list with author avatars on the left; selecting a version shows its added and removed lines as an inline diff with a restore button.

Feature 180 is a pro feature block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 107 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • collaboration
  • history
  • versions
  • diff
  • interactive

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/feature-180

Dependencies installed automatically: lucide-react, motion.

Uses: button, reveal, utils.

Usage

import Feature180 from "@/components/blocks/feature-180"

export default function Page() {
  return <Feature180 />
}

FAQ