diff --git a/components/ui/floating-label.tsx b/components/ui/floating-label.tsx new file mode 100644 index 0000000..9d453cb --- /dev/null +++ b/components/ui/floating-label.tsx @@ -0,0 +1,47 @@ +import * as React from 'react'; +import { Input } from '@/components/ui/input'; +import { Label } from '@/components/ui/label'; +import { cn } from '@/lib/utils'; + +export interface InputProps extends React.InputHTMLAttributes { } + +const FloatingInput = React.forwardRef( + ({ className, ...props }, ref) => { + return ; + }, +); +FloatingInput.displayName = 'FloatingInput'; + +const FloatingLabel = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => { + return ( +