mirror of
https://github.com/hanzoai/store.git
synced 2026-10-30 14:54:46 +00:00
- Install @hanzo/logo for official Hanzo logo component - Install @hanzo/ui with lucide-react icons - Create local UI components (Button, Input, Badge, Card) following @hanzo/ui patterns - Use HanzoLogo from @hanzo/logo package - Add "Install in Hanzo" button with hanzo:// protocol support - Update all styling to use dark mode semantic colors - Improve app cards with proper @hanzo/ui components - Add copy install command functionality - Update footer with proper instructions for agents/ and tools/ folders
26 lines
835 B
TypeScript
26 lines
835 B
TypeScript
import * as React from "react"
|
|
|
|
import { cn } from "@/lib/utils"
|
|
|
|
export interface InputProps
|
|
extends React.InputHTMLAttributes<HTMLInputElement> {}
|
|
|
|
const Input = React.forwardRef<HTMLInputElement, InputProps>(
|
|
({ className, type, ...props }, ref) => {
|
|
return (
|
|
<input
|
|
type={type}
|
|
className={cn(
|
|
"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
className
|
|
)}
|
|
ref={ref}
|
|
{...props}
|
|
/>
|
|
)
|
|
}
|
|
)
|
|
Input.displayName = "Input"
|
|
|
|
export { Input }
|