Inputs
  • ui
  • /
  • inputs
  • /
  • input-4

input-4

  • Vista previa

  • Código

    const Input4 = () => {
      return (
        <div className="w-full max-w-lg relative">
          <label htmlFor="input4" className="absolute -top-2 left-2 px-4 font-bold text-xs bg-background">
            Nombre
          </label>
          <input
            id="input4"
            type="text"
            className="w-full border border-border bg-transparent py-3 px-5 rounded-full outline-none placeholder:text-muted-foreground"
            placeholder="Jorge Luis Trejo"
            autoComplete="off"
          />
        </div>
      );
    };
    
    export default Input4;