Skip to main content

Basic Form

A simple form demonstrating the most common field types. This example shows how @canard/schema-form renders text inputs, numbers, dates, enums, textareas, and switches from a single JSON Schema.

Key Features
  • type: string — text input
  • type: integer — number input
  • format: date — date picker
  • enum — dropdown select
  • format: textarea — multi-line text
  • formType: switch — toggle switch