mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-10-30 18:22:59 +00:00
- Fix 3D card component demos with proper content in both default and new-york themes - Update all 170+ CLI installation commands from 'npx hanzo-ui@latest' to 'npx @hanzo/ui@latest' - Update CLAUDE.md to reflect correct package naming - Rebuild component registry with updated demos
78 lines
1.3 KiB
Plaintext
78 lines
1.3 KiB
Plaintext
---
|
|
title: Interactive Grid Pattern
|
|
description: Interactive Grid Pattern component for Hanzo UI
|
|
component: true
|
|
---
|
|
|
|
<ComponentPreview name="interactive-grid-pattern-demo" />
|
|
|
|
## Installation
|
|
|
|
<Tabs defaultValue="cli">
|
|
|
|
<TabsList>
|
|
<TabsTrigger value="cli">CLI</TabsTrigger>
|
|
<TabsTrigger value="manual">Manual</TabsTrigger>
|
|
</TabsList>
|
|
|
|
<TabsContent value="cli">
|
|
|
|
<Steps>
|
|
|
|
<Step>Run the following command:</Step>
|
|
|
|
```bash
|
|
npx @hanzo/ui@latest add interactive-grid-pattern
|
|
```
|
|
|
|
</Steps>
|
|
|
|
</TabsContent>
|
|
|
|
<TabsContent value="manual">
|
|
|
|
<Steps>
|
|
|
|
<Step>Copy and paste the following code into your project</Step>
|
|
|
|
<ComponentSource name="interactive-grid-pattern" />
|
|
|
|
<Step>Update the import paths to match your project setup</Step>
|
|
|
|
</Steps>
|
|
|
|
</TabsContent>
|
|
|
|
</Tabs>
|
|
|
|
## Usage
|
|
|
|
```tsx
|
|
import { Interactive Grid Pattern } from "@/registry/default/ui/interactive-grid-pattern"
|
|
|
|
export default function Example() {
|
|
return <Interactive Grid Pattern />
|
|
}
|
|
```
|
|
|
|
## Examples
|
|
|
|
### Default
|
|
|
|
<ComponentPreview name="interactive-grid-pattern-demo" />
|
|
|
|
## API
|
|
|
|
Documentation coming soon.
|
|
|
|
## Features
|
|
|
|
- Built with Radix UI and Tailwind CSS
|
|
- Fully accessible and keyboard navigable
|
|
- Customizable styling with CSS variables
|
|
- TypeScript support
|
|
|
|
## Notes
|
|
|
|
For more examples and advanced usage, see the [examples](/examples).
|