About
A responsive book component.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Book to your project and fits it to your theme.
Code
How Book is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Book } from "@/components/ui/book";
export default function VariantsDemo() {
return (
<div className="flex gap-8">
<Book
title="The user experience of the Frontend Cloud"
variant="simple"
width={196}
/>
<Book
title="The user experience of the Frontend Cloud"
variant="stripe"
width={196}
/>
</div>
);
}
















