Split Showcase

Split Showcase: Split-screen before-and-after comparison block with interactive slider. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Split Showcase

npx motion-ui-skill add split-showcase

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

Dependencies

  • clsx
  • motion
  • react
  • tailwind-merge

Source files

Split Showcase

Component from Motion UI: split-showcase

Install

npx motion-ui-skill add split-showcase

Dependencies

  • clsx
  • motion
  • react
  • tailwind-merge

Usage

"use client";

import { SplitShowcase as SplitShowcase } from "@/components/craft/split-showcase";

export function Example() {
  return (
    <div className="p-6">
      <SplitShowcase />
    </div>
  );
}

Browse this category