About
Styling component to show expanded or collapsed content.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Show More to your project and fits it to your theme.
Code
How Show More is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { useState } from "react";
import { ShowMore } from "@/components/ui/show-more-1";
export default function DefaultDemo() {
const [expanded, setExpanded] = useState(false);
return <ShowMore expanded={expanded} onClick={setExpanded} />;
}
















