|
$
pnpm dlx shadcn@latest add https://shitui.in/r/book-3d.json
Build Something Great
Join thousands of developers creating stunning interfaces with ShitUI. Your next project deserves components that stand out.
6Notes
Getting Started
Install any component with a single command: npx shadcn@latest add @shitui/[component-name]. No configuration needed, just beautiful components ready to go.
5Notes
"Great design is not just what looks good. It also needs to perform, convert, and amaze."4
Notes
Premium Components
From glass-morphic buttons to 3D cards, each component is designed with attention to detail. Self-contained, easy to install via CLI, and ready to use.
3Notes
Notes
Welcome to ShitUI
A premium collection of beautifully crafted, animated React components. Built with Motion and Tailwind CSS for modern web applications.
1Notes
SHITUIVOL. 01
ShitUI
Component Library
REACT / MOTION2026
ShitUI
How to use
01Import the component
import { Book3D } from '@/components/shitui/Book3D';02Use in your application
export default function App() {
return <Book3D />;
}Examples
01Custom Cover
<Book3D
src="/my-book-cover.jpg"
title="My Awesome Book"
subtitle="By John Doe"
/>02Custom Pages
const customPages = [
{
title: "Introduction",
content: "Welcome to my book. This is the first page with an introduction."
},
{
image: "/illustration.jpg",
caption: "A beautiful illustration"
},
{
title: "Chapter 1",
content: "The story begins here..."
},
{
quote: "Design is not just what it looks like and feels like. Design is how it works.",
author: "Steve Jobs"
}
];
<Book3D
src="/cover.jpg"
title="My Book"
pages={customPages}
/>03Fully Customized
<Book3D
src="/fantasy-cover.jpg"
title="The Chronicles"
subtitle="An Epic Tale"
width={250}
height={380}
pages={myCustomPages}
className="shadow-2xl"
/>Features
Hover to open, click pages to flip.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| src | string | - | Cover image URL. If not provided, shows RareUI branding. |
| title | string | - | Title displayed on cover. |
| subtitle | string | - | Subtitle displayed on cover. |
| pages | PageData[] | [...] | Array of page content objects. Defaults to RareUI demo pages. |
| width | number | 230 | Book width in pixels. |
| height | number | 350 | Book height in pixels. |
| className | string | - | Additional CSS classes for the container. |
Component Info