mathéo grémont

Stillgrade

Component

About

Try film-inspired looks on any photo with a before-and-after slider, adjustable intensity, and local JPEG export.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Stillgrade to your project and fits it to your theme.

Code

How Stillgrade is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { Stillgrade } from "@/components/ui/stillgrade";

const settings = {
  intensity: 85,
  split: 48,
};

const SAMPLE =
  "https://cdn.21st.dev/assets/mirror/55/556b157a629684daae3e38d9d269072490c21ed78c5a5472baba4a6467e659db.jpg";

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return (
    <div className="flex w-full items-start justify-center bg-background p-3 md:p-4">
      <Stillgrade
        src={SAMPLE}
        alt="Jagged mountain peaks above a dark spruce forest at dusk"
        title="Dolomites"
        place="Italian Alps"
        intensity={s.intensity}
        position={s.split}
      />
    </div>
  );
}