Overview
Book is a 3D book component with customizable sizes, color gradients, and optional hover animations. Perfect for showcasing content in a visually appealing way.Usage
API Reference
Book
| Prop Name | Type | Default | Description |
|---|---|---|---|
class | String | - | Additional classes for styling the component. |
duration | Number | 1000 | Animation duration in milliseconds. |
color | String | ”zinc” | Color theme for the book gradient. |
isStatic | Boolean | false | Disables hover animations when true. |
size | String | ”md” | Size variant of the book. |
radius | String | ”md” | Border radius variant of the book. |
shadowSize | String | ”lg” | Shadow size variant of the book. |
BookHeader
| Prop Name | Type | Default | Description |
|---|---|---|---|
class | String | - | Additional classes for custom styling. |
BookTitle
| Prop Name | Type | Default | Description |
|---|---|---|---|
class | String | - | Additional classes for custom styling. |
BookDescription
| Prop Name | Type | Default | Description |
|---|---|---|---|
class | String | - | Additional classes for custom styling. |