mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-10-30 18:22:59 +00:00
- 3d-carousel-demo: Added 3 carousel items with gradient content - 3d-grid-demo: Added 6 grid items with colors, spans, and elevation - 3d-marquee-demo: Added scrolling text content with icons - 3d-text-demo: Added 3D text with metallic variant - animated-number-demo: Added revenue counter with ,456 - animated-testimonials-demo: Added 3 testimonials with authors - animated-list-demo: Added 3 notification items - ai-models-demo: Added GPT-4, Claude, Gemini models - ai-actions-demo: Added 4 AI action buttons - advanced-navigation-bar-demo: Added nav items with dropdowns All demos now have required props, resolving 10 TypeScript errors.
12 lines
345 B
TypeScript
12 lines
345 B
TypeScript
import { Text3D } from "@/registry/default/ui/3d-text"
|
|
|
|
export default function ThreeDTextDemo() {
|
|
return (
|
|
<div className="flex min-h-[400px] items-center justify-center p-8 bg-gradient-to-br from-slate-900 to-slate-800">
|
|
<Text3D variant="metallic" size="5xl" animate rotateOnHover>
|
|
3D Text
|
|
</Text3D>
|
|
</div>
|
|
)
|
|
}
|