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 WidthDemo() {
return (
<div className="flex flex-col gap-2 w-3/4">
<div className="flex gap-8">
<Book color="#7DC1C1" textured title="Design Engineering at Vercel" />
<Book color="#9D2127" textured title="Design Engineering at Vercel" />
<Book color="#FED954" textured title="Design Engineering at Vercel" />
</div>
<div className="flex gap-8 mt-8">
<Book
color="#7DC1C1"
textColor="white"
textured
title="Design Engineering at Vercel"
variant="simple"
/>
<Book
color="#9D2127"
textColor="#ece4db"
textured
title="Design Engineering at Vercel"
variant="simple"
/>
<Book
color="#FED954"
textColor="#9d3b05"
textured
title="Design Engineering at Vercel"
variant="simple"
/>
</div>
</div>
);
}
















