About
A wrapper component that animates its children sliding in from the right to the left with a fade-in effect.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Slide Left to your project and fits it to your theme.
Code
How Slide Left is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import SlideLeft from "@/components/ui/slide-left";
export default function SlideLeftDemo() {
return (
<div className="flex h-screen w-full items-center justify-center bg-background">
<SlideLeft>
<div className="rounded-lg border bg-card p-8 text-center shadow-sm">
<h2 className="text-xl font-semibold text-card-foreground">
Slide Left
</h2>
<p className="mt-2 text-sm text-muted-foreground">
This content slides in from the right.
</p>
</div>
</SlideLeft>
</div>
);
}








