Removed Custom Icon Component and Added Iconify icons
This commit is contained in:
@@ -5,7 +5,7 @@ Form + field components for **Astro** with Tailwind utilities and Zod-ready vali
|
||||
- ✅ `<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
|
||||
- ✅ `<Button />` 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]`
|
||||
|
||||
@@ -18,11 +18,16 @@ pnpm add @wrnexus/astro
|
||||
# or
|
||||
npm i @wrnexus/astro
|
||||
```
|
||||
Install All Required packages
|
||||
|
||||
```bash
|
||||
npm install tailwind-merge clsx class-variance-authority @tailwindcss/forms zod --save-dev
|
||||
```
|
||||
|
||||
Theme Use
|
||||
|
||||
```bash
|
||||
@import "@wrnexus/astro/theme.css";
|
||||
@import "@wrnexus/astro/style.css";
|
||||
|
||||
@import "tailwindcss";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user