19 lines
674 B
Markdown
19 lines
674 B
Markdown
# @wrnexus/astro
|
|
|
|
Form + field components for **Astro** with Tailwind utilities and Zod-ready validation hooks.
|
|
|
|
- ✅ `<Form />` — submit handling + client validation plumbing
|
|
- ✅ `<Field />` — text/email/password/number/textarea/select/date/time/file/checkbox/radio/switch
|
|
- ✅ `<MultiSelect />` — searchable, checkbox-driven multi select dropdown
|
|
- ✅ `<Button />`, `<Icon />` helpers
|
|
- 🎯 Works with your Tailwind tokens (e.g., `bg-primary`, `text-foreground`, `border-border`)
|
|
- 🧪 Zod integration: pass `schemaName` to `<Form />` and expose a schema as `window[schemaName]`
|
|
|
|
---
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
pnpm add @wrnexus/astro
|
|
# or
|
|
npm i @wrnexus/astro |