Files
ui/app/content/docs/components/ticker.mdx.disabled
zeekay 498e24210a fix: Correct color alias mappings in registry-colors
- Fix gray/zinc alias confusion (gray→neutral, zinc→zen)
- Consolidate duplicate gray color definition
- Add finance components to ui/ directory
- Clean up documentation structure
- Remove test artifacts and backup files

The color aliases were incorrectly mapped:
  Before: gray→zen, zinc→neutral (wrong)
  After: gray→neutral, zinc→zen (correct)

This ensures Hanzo's branded 'zen' color properly maps to zinc
while gray correctly references the standard neutral palette.

Verified:
- Production build: 544 pages ✓
- All tests passing: 219/219 ✓
- Visual verification: /colors page working ✓
- Code review: Approved ✓

Ready for deployment to ui.hanzo.ai
2025-11-12 13:22:56 -08:00

78 lines
1.1 KiB
Plaintext

---
title: Ticker
description: Ticker component (coming soon)
component: true
---
<ComponentPreview name="ticker-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 ticker
```
</Steps>
</TabsContent>
<TabsContent value="manual">
<Steps>
<Step>Copy and paste the following code into your project</Step>
<ComponentSource name="ticker" />
<Step>Update the import paths to match your project setup</Step>
</Steps>
</TabsContent>
</Tabs>
## Usage
```tsx
import { Ticker } from "@/registry/default/ui/ticker"
export default function Example() {
return <Ticker />
}
```
## Examples
### Default
<ComponentPreview name="ticker-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).