Removed Custom Icon Component and Added Iconify icons

This commit is contained in:
2025-08-16 13:58:25 +05:30
parent b3e13c2938
commit 8f720c9865
11 changed files with 1063 additions and 3304 deletions
+7 -2
View File
@@ -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";