███████╗ ██████╗ ███╗ ██╗ ████████╗ ██████╗ ███████╗ ███╗ ███╗
██╔═════╝ ██╔═══██╗ ████╗ ██║ ██╔═════╝ ██╔═══██╗ ██╔═══██╗ ████████║
██║ ██║ ██║ ██╔██╗██║ ███████╗ ██║ ██║ ███████╔╝ ██╔██╔██║
██║ ██║ ██║ ██║╚████║ ██╔════╝ ██║ ██║ ██╔═══██╗ ██║╚═╝██║
╚███████╗ ╚██████╔╝ ██║ ╚███║ ██║ ╚██████╔╝ ██║ ██║ ██║ ██║
╚══════╝ ╚═════╝ ╚═╝ ╚══╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝
版本 1.2.2 / 授權 MIT / 版權 (c) 2024 Edmund Hung
一個型別安全的表單驗證函式庫,利用 Web 基礎知識逐步增強 HTML 表單,並完全支援 Remix 和 Next.js 等伺服器框架。
開始使用
請瀏覽我們的網站 https://conform.guide 以查看概述和教學。
功能
- 優先考慮漸進式增強的 API
- 型別安全欄位推斷
- 細緻的訂閱
- 內建的輔助功能
- 使用 Zod 自動進行型別強制轉換
文件
- 驗證:https://conform.guide/validation
- 巢狀物件和陣列:https://conform.guide/complex-structures
- UI 整合:https://conform.guide/integration/ui-libraries
- Intent 按鈕:https://conform.guide/intent-button
- 輔助功能指南:https://conform.guide/accessibility
支援
要回報錯誤,請在儲存庫 https://github.com/edmundhung/conform 上開啟一個 Issue。對於功能請求和問題,您可以在「討論」區發佈。