About
A card whose long description is truncated to a short preview and expands to reveal the full text through a collapsible "Read more" toggle with a fade overlay.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Read More Content Expander to your project and fits it to your theme.
Code
How Read More Content Expander is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import Pattern from "@/components/ui/read-more-content-expander";
export default function Default() {
return (
<div className="flex min-h-svh w-full items-center justify-center p-6">
<Pattern />
</div>
);
}
















