reactor-forms

Official

Declarative forms with Reactor validation.

Authormicrosoft
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a cohesive, declarative pattern for building forms in Reactor, eliminating scattered, ad-hoc validation code by centralizing validation in a UseValidationContext and per-field validators.

Core Features & Use Cases

  • UseValidationContext() to track per-field messages and touched/dirty state.
  • FormField wrapper for labeled inputs and error display.
  • MaskEngine for masked input (phone, SSN, etc.).
  • InputFormatter for on-the-fly formatting (currency, casing, etc.).
  • Built-in validators: Validate.Required, Validate.Email, Validate.MinLength, Validate.MaxLength, and more.
  • Use cases include data-entry forms, sign-up flows, and settings screens requiring field validation and formatting.

Quick Start

Create a simple form with TextBox, UseState, and UseValidationContext to validate a required email field.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: reactor-forms
Download link: https://github.com/microsoft/microsoft-ui-reactor/archive/main.zip#reactor-forms

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.