"use client";
import { cn } from "./index3.js";
import { jsx } from "react/jsx-runtime";
import { Form } from "@base-ui/react/form";
//#region src/components/ui/form.tsx
/**
* Form - A native form element with consolidated error handling.
* Works with Field components for structured form management.
*/
function Form$1({ className, validationMode = "onSubmit", errors, onFormSubmit, ...props }) {
	return /* @__PURE__ */ jsx(Form, {
		"data-slot": "form",
		validationMode,
		errors,
		onFormSubmit,
		className: cn("flex flex-col gap-6", className),
		...props
	});
}
Form$1.displayName = "Form";
//#endregion
export { Form$1 as Form };

//# sourceMappingURL=index393.js.map