The TiltCard component is a stylish, interactive card that tilts and scales when hovered over, providing a dynamic visual effect. It's perfect for highlighting important information or adding a touch of interactivity to your UI.
Features
- Interactive Hover Effect: Tilts and scales on hover for a dynamic look.
- Customizable Hover Color: Easily change the hover background color using Tailwind CSS classes.
- Theming Support: Integrated with shadcn theme for consistent styling.
- Responsive Design: Adapts to different screen sizes and layouts.
Props
- title: string - The text displayed on the card.
- hoverColor: string - Tailwind CSS class for the hover background color (e.g., hover:bg-blue-500).
- className: string - Additional classes for custom styling.