Documentation Index
Fetch the complete documentation index at: https://osforms.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
- React 18 or later
Install
TypeScript
Types are bundled — no separate@types package needed.
All types from @osforms/types are re-exported from @osforms/react:
Next.js (App Router)
Works out of the box. Add'use client' when using in a Server Component file:
Next.js (Pages Router)
No special configuration needed — all files inpages/ are client-side by default:
Vite / CRA
Works without additional configuration.Bundle size
| What | Size |
|---|---|
@osforms/react (gzipped) | ~25 kB |
framer-motion (gzipped, auto-installed) | ~40 kB |