vanguard-uikit 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,324 @@
1
+ # Vanguard UIKit
2
+
3
+ A modern, dark-themed UI component library for React applications. Built with Tailwind CSS and Lucide Icons. Now featuring an enhanced blend of **Glassmorphism**, **Neuromorphism**, and **Liquid Glass** aesthetics.
4
+
5
+ ![Vanguard UIKit](https://via.placeholder.com/800x400/0a0a0b/3b82f6?text=Vanguard+UIKit)
6
+
7
+ ## ✨ New Design Features
8
+
9
+ ### 🪟 Enhanced Glassmorphism
10
+ - Multi-layer glass effects with backdrop blur
11
+ - Liquid refraction highlights
12
+ - Holographic gradient overlays
13
+ - Crystal-clear depth perception
14
+
15
+ ### 🔵 Neuromorphic Depth
16
+ - Soft shadows for dimensional feel
17
+ - Subtle light and dark contrasts
18
+ - Tactile, pressable surfaces
19
+ - Embedded and elevated states
20
+
21
+ ### 💧 Liquid Glass
22
+ - Flowing gradient animations
23
+ - Refractive light effects
24
+ - Smooth, organic transitions
25
+ - Holographic shimmer accents
26
+
27
+ ## Features
28
+
29
+ - 🌙 Dark theme by default
30
+ - ✨ Glassmorphism + Neuromorphism + Liquid Glass fusion
31
+ - 💧 Liquid refraction effects
32
+ - 🔵 Holographic gradients
33
+ - 🎨 500+ Lucide icons
34
+ - 📱 Responsive design
35
+ - ⚡ Lightweight & fast
36
+ - 🎭 Smooth animations
37
+ - Highly customizable
38
+
39
+ ## Installation
40
+
41
+ ```bash
42
+ npm install vanguard-uikit
43
+ ```
44
+
45
+ Or with yarn:
46
+
47
+ ```bash
48
+ yarn add vanguard-uikit
49
+ ```
50
+
51
+ ## Peer Dependencies
52
+
53
+ Make sure you have these installed:
54
+
55
+ ```bash
56
+ npm install react react-dom lucide-react
57
+ ```
58
+
59
+ ## Quick Start
60
+
61
+ ```jsx
62
+ import React from 'react';
63
+ import {
64
+ VanguardButton,
65
+ VanguardCard,
66
+ GlassPanel,
67
+ Icons
68
+ } from 'vanguard-uikit';
69
+
70
+ function App() {
71
+ return (
72
+ <div className="min-h-screen bg-[#0a0a0b] p-8">
73
+ <GlassPanel>
74
+ <VanguardCard
75
+ title="Welcome"
76
+ description="Build amazing interfaces"
77
+ icon={Icons.Zap}
78
+ >
79
+ <VanguardButton variant="accent">
80
+ Get Started
81
+ </VanguardButton>
82
+ </VanguardCard>
83
+ </GlassPanel>
84
+ </div>
85
+ );
86
+ }
87
+
88
+ export default App;
89
+ ```
90
+
91
+ ## Components
92
+
93
+ ### Buttons
94
+
95
+ Enhanced with liquid shine effects and neuromorphic depth:
96
+
97
+ ```jsx
98
+ <VanguardButton variant="primary">Primary</VanguardButton>
99
+ <VanguardButton variant="accent">Accent</VanguardButton>
100
+ <VanguardButton variant="glass">Glass</VanguardButton>
101
+ <VanguardButton variant="ghost">Ghost</VanguardButton>
102
+ <VanguardButton variant="danger">Danger</VanguardButton>
103
+
104
+ // With icon
105
+ <VanguardButton variant="accent" icon={Icons.ArrowRight}>
106
+ Get Started
107
+ </VanguardButton>
108
+ ```
109
+
110
+ ### Cards
111
+
112
+ Multi-layer glass with liquid gradient borders:
113
+
114
+ ```jsx
115
+ <VanguardCard
116
+ title="Feature"
117
+ description="Description here"
118
+ icon={Icons.Zap}
119
+ tag="New"
120
+ hoverable
121
+ />
122
+
123
+ <StatCard
124
+ title="Revenue"
125
+ value="$10,000"
126
+ change="+12%"
127
+ trend="up"
128
+ icon={Icons.Wallet}
129
+ />
130
+ ```
131
+
132
+ ### Form Elements
133
+
134
+ Neuromorphic depth with liquid highlights:
135
+
136
+ ```jsx
137
+ <Input icon={Icons.Search} placeholder="Search..." />
138
+ <SearchInput placeholder="Search..." />
139
+ <Textarea placeholder="Enter description..." rows={3} />
140
+ <Select
141
+ options={[{ label: 'Option 1', value: '1' }]}
142
+ value={value}
143
+ onChange={setValue}
144
+ placeholder="Choose option..."
145
+ />
146
+ <Toggle checked={checked} onChange={setChecked} label="Enable" />
147
+ <Switch checked={checked} onChange={setChecked} label="Dark mode" />
148
+ <Checkbox checked={checked} onChange={setChecked} label="Accept terms" />
149
+ <RadioGroup options={options} value={value} onChange={setValue} />
150
+ <Slider value={value} onChange={setValue} min={0} max={100} />
151
+ ```
152
+
153
+ ### Navigation
154
+
155
+ ```jsx
156
+ <Navbar scrolled={scrolled}>
157
+ <Logo />
158
+ <NavTab active>Home</NavTab>
159
+ <NavTab>About</NavTab>
160
+ </Navbar>
161
+
162
+ <Tabs tabs={tabs} activeTab={activeTab} onChange={setActiveTab} />
163
+
164
+ <Accordion
165
+ items={[{ id: '1', title: 'Question?', content: 'Answer!' }]}
166
+ allowMultiple
167
+ />
168
+ ```
169
+
170
+ ### Feedback
171
+
172
+ ```jsx
173
+ <ToastProvider>
174
+ <YourComponent />
175
+ </ToastProvider>
176
+
177
+ // In YourComponent:
178
+ const { addToast } = useToast();
179
+ addToast({ title: 'Success!', variant: 'success' });
180
+
181
+ <Modal isOpen={isOpen} onClose={setIsOpen} title="Modal Title">
182
+ Content here
183
+ </Modal>
184
+
185
+ <ConfirmDialog
186
+ isOpen={isOpen}
187
+ onClose={setIsOpen}
188
+ onConfirm={handleConfirm}
189
+ title="Confirm"
190
+ message="Are you sure?"
191
+ />
192
+ ```
193
+
194
+ ### Data Display
195
+
196
+ ```jsx
197
+ <Table
198
+ columns={[{ header: 'Name', accessor: 'name' }]}
199
+ data={[{ name: 'John' }]}
200
+ />
201
+
202
+ <Pagination
203
+ currentPage={1}
204
+ totalPages={10}
205
+ onPageChange={setPage}
206
+ />
207
+
208
+ <ProjectRow
209
+ name="Project Name"
210
+ status="Active"
211
+ progress={75}
212
+ category="Development"
213
+ />
214
+ ```
215
+
216
+ ### Progress
217
+
218
+ ```jsx
219
+ <ProgressBar value={75} showLabel variant="blue" />
220
+ <CircularProgress value={60} variant="emerald" size={80} />
221
+ ```
222
+
223
+ ### Badges & Tags
224
+
225
+ ```jsx
226
+ <Badge>Default</Badge>
227
+ <Badge variant="blue">New</Badge>
228
+ <Badge variant="emerald">Active</Badge>
229
+ <Badge variant="rose">Error</Badge>
230
+
231
+ <StatusBadge variant="blue">Live</StatusBadge>
232
+ <StatusBadge variant="emerald">Online</StatusBadge>
233
+ ```
234
+
235
+ ## Using Icons
236
+
237
+ The kit includes 500+ icons from Lucide:
238
+
239
+ ```jsx
240
+ import { Icons } from 'vanguard-uikit';
241
+
242
+ <Icons.Zap />
243
+ <Icons.Box />
244
+ <Icons.Settings />
245
+ <Icons.User />
246
+ // ... and many more
247
+ ```
248
+
249
+ ## Theme Configuration
250
+
251
+ The kit uses these enhanced styles:
252
+
253
+ ### Glassmorphism
254
+ ```jsx
255
+ bg-gradient-to-br from-white/10 via-white/5 to-white/[0.02]
256
+ backdrop-blur-xl
257
+ border border-white/15
258
+ shadow-[0_8px_32px_rgba(0,0,0,0.3),inset_0_1px_0_rgba(255,255,255,0.1)]
259
+ ```
260
+
261
+ ### Neuromorphism
262
+ ```jsx
263
+ bg-[#0a0a0b]
264
+ shadow-[8px_8px_16px_rgba(0,0,0,0.4),-8px_-8px_16px_rgba(255,255,255,0.03)]
265
+ border border-white/5
266
+ ```
267
+
268
+ ### Liquid Glass
269
+ ```jsx
270
+ bg-gradient-to-br from-white/[0.08] via-white/[0.02] to-transparent
271
+ backdrop-blur-2xl
272
+ border border-white/10
273
+ shadow-[0_8px_32px_rgba(0,0,0,0.3),inset_0_1px_0_rgba(255,255,255,0.1)]
274
+ ```
275
+
276
+ ## Animation Variants
277
+
278
+ - `fast`: 300ms ease-out
279
+ - `slow`: 500ms cubic-bezier
280
+ - `slower`: 700ms cubic-bezier
281
+ - `liquid`: 700ms spring-like cubic-bezier
282
+
283
+ ## Color Variants
284
+
285
+ Available for badges, progress bars, and alerts:
286
+ - Blue (default)
287
+ - Emerald (success)
288
+ - Rose (danger/error)
289
+ - Amber (warning)
290
+ - Purple (premium)
291
+
292
+ ## Requirements
293
+
294
+ - React 16.8+
295
+ - Tailwind CSS 3+
296
+ - Lucide React 0.200+
297
+
298
+ ## Demo
299
+
300
+ Run the demo app to see all components:
301
+
302
+ ```bash
303
+ cd demo
304
+ npm install
305
+ npm run dev
306
+ ```
307
+
308
+ ## Changelog
309
+
310
+ ### v2.0 - Enhanced Edition
311
+ - ✨ Added glassmorphism enhancements
312
+ - 🔵 Added neuromorphic depth effects
313
+ - 💧 Added liquid glass animations
314
+ - 🎨 Holographic gradient overlays
315
+ - 🌊 Liquid refraction effects
316
+ - ⚡ Improved animations and transitions
317
+
318
+ ## License
319
+
320
+ MIT © Dream-Pixels-Forge
321
+
322
+ ---
323
+
324
+ Built with ❤️ using React + Tailwind CSS
package/dist/README.md ADDED
@@ -0,0 +1,324 @@
1
+ # Vanguard UIKit
2
+
3
+ A modern, dark-themed UI component library for React applications. Built with Tailwind CSS and Lucide Icons. Now featuring an enhanced blend of **Glassmorphism**, **Neuromorphism**, and **Liquid Glass** aesthetics.
4
+
5
+ ![Vanguard UIKit](https://via.placeholder.com/800x400/0a0a0b/3b82f6?text=Vanguard+UIKit)
6
+
7
+ ## ✨ New Design Features
8
+
9
+ ### 🪟 Enhanced Glassmorphism
10
+ - Multi-layer glass effects with backdrop blur
11
+ - Liquid refraction highlights
12
+ - Holographic gradient overlays
13
+ - Crystal-clear depth perception
14
+
15
+ ### 🔵 Neuromorphic Depth
16
+ - Soft shadows for dimensional feel
17
+ - Subtle light and dark contrasts
18
+ - Tactile, pressable surfaces
19
+ - Embedded and elevated states
20
+
21
+ ### 💧 Liquid Glass
22
+ - Flowing gradient animations
23
+ - Refractive light effects
24
+ - Smooth, organic transitions
25
+ - Holographic shimmer accents
26
+
27
+ ## Features
28
+
29
+ - 🌙 Dark theme by default
30
+ - ✨ Glassmorphism + Neuromorphism + Liquid Glass fusion
31
+ - 💧 Liquid refraction effects
32
+ - 🔵 Holographic gradients
33
+ - 🎨 500+ Lucide icons
34
+ - 📱 Responsive design
35
+ - ⚡ Lightweight & fast
36
+ - 🎭 Smooth animations
37
+ - Highly customizable
38
+
39
+ ## Installation
40
+
41
+ ```bash
42
+ npm install vanguard-uikit
43
+ ```
44
+
45
+ Or with yarn:
46
+
47
+ ```bash
48
+ yarn add vanguard-uikit
49
+ ```
50
+
51
+ ## Peer Dependencies
52
+
53
+ Make sure you have these installed:
54
+
55
+ ```bash
56
+ npm install react react-dom lucide-react
57
+ ```
58
+
59
+ ## Quick Start
60
+
61
+ ```jsx
62
+ import React from 'react';
63
+ import {
64
+ VanguardButton,
65
+ VanguardCard,
66
+ GlassPanel,
67
+ Icons
68
+ } from 'vanguard-uikit';
69
+
70
+ function App() {
71
+ return (
72
+ <div className="min-h-screen bg-[#0a0a0b] p-8">
73
+ <GlassPanel>
74
+ <VanguardCard
75
+ title="Welcome"
76
+ description="Build amazing interfaces"
77
+ icon={Icons.Zap}
78
+ >
79
+ <VanguardButton variant="accent">
80
+ Get Started
81
+ </VanguardButton>
82
+ </VanguardCard>
83
+ </GlassPanel>
84
+ </div>
85
+ );
86
+ }
87
+
88
+ export default App;
89
+ ```
90
+
91
+ ## Components
92
+
93
+ ### Buttons
94
+
95
+ Enhanced with liquid shine effects and neuromorphic depth:
96
+
97
+ ```jsx
98
+ <VanguardButton variant="primary">Primary</VanguardButton>
99
+ <VanguardButton variant="accent">Accent</VanguardButton>
100
+ <VanguardButton variant="glass">Glass</VanguardButton>
101
+ <VanguardButton variant="ghost">Ghost</VanguardButton>
102
+ <VanguardButton variant="danger">Danger</VanguardButton>
103
+
104
+ // With icon
105
+ <VanguardButton variant="accent" icon={Icons.ArrowRight}>
106
+ Get Started
107
+ </VanguardButton>
108
+ ```
109
+
110
+ ### Cards
111
+
112
+ Multi-layer glass with liquid gradient borders:
113
+
114
+ ```jsx
115
+ <VanguardCard
116
+ title="Feature"
117
+ description="Description here"
118
+ icon={Icons.Zap}
119
+ tag="New"
120
+ hoverable
121
+ />
122
+
123
+ <StatCard
124
+ title="Revenue"
125
+ value="$10,000"
126
+ change="+12%"
127
+ trend="up"
128
+ icon={Icons.Wallet}
129
+ />
130
+ ```
131
+
132
+ ### Form Elements
133
+
134
+ Neuromorphic depth with liquid highlights:
135
+
136
+ ```jsx
137
+ <Input icon={Icons.Search} placeholder="Search..." />
138
+ <SearchInput placeholder="Search..." />
139
+ <Textarea placeholder="Enter description..." rows={3} />
140
+ <Select
141
+ options={[{ label: 'Option 1', value: '1' }]}
142
+ value={value}
143
+ onChange={setValue}
144
+ placeholder="Choose option..."
145
+ />
146
+ <Toggle checked={checked} onChange={setChecked} label="Enable" />
147
+ <Switch checked={checked} onChange={setChecked} label="Dark mode" />
148
+ <Checkbox checked={checked} onChange={setChecked} label="Accept terms" />
149
+ <RadioGroup options={options} value={value} onChange={setValue} />
150
+ <Slider value={value} onChange={setValue} min={0} max={100} />
151
+ ```
152
+
153
+ ### Navigation
154
+
155
+ ```jsx
156
+ <Navbar scrolled={scrolled}>
157
+ <Logo />
158
+ <NavTab active>Home</NavTab>
159
+ <NavTab>About</NavTab>
160
+ </Navbar>
161
+
162
+ <Tabs tabs={tabs} activeTab={activeTab} onChange={setActiveTab} />
163
+
164
+ <Accordion
165
+ items={[{ id: '1', title: 'Question?', content: 'Answer!' }]}
166
+ allowMultiple
167
+ />
168
+ ```
169
+
170
+ ### Feedback
171
+
172
+ ```jsx
173
+ <ToastProvider>
174
+ <YourComponent />
175
+ </ToastProvider>
176
+
177
+ // In YourComponent:
178
+ const { addToast } = useToast();
179
+ addToast({ title: 'Success!', variant: 'success' });
180
+
181
+ <Modal isOpen={isOpen} onClose={setIsOpen} title="Modal Title">
182
+ Content here
183
+ </Modal>
184
+
185
+ <ConfirmDialog
186
+ isOpen={isOpen}
187
+ onClose={setIsOpen}
188
+ onConfirm={handleConfirm}
189
+ title="Confirm"
190
+ message="Are you sure?"
191
+ />
192
+ ```
193
+
194
+ ### Data Display
195
+
196
+ ```jsx
197
+ <Table
198
+ columns={[{ header: 'Name', accessor: 'name' }]}
199
+ data={[{ name: 'John' }]}
200
+ />
201
+
202
+ <Pagination
203
+ currentPage={1}
204
+ totalPages={10}
205
+ onPageChange={setPage}
206
+ />
207
+
208
+ <ProjectRow
209
+ name="Project Name"
210
+ status="Active"
211
+ progress={75}
212
+ category="Development"
213
+ />
214
+ ```
215
+
216
+ ### Progress
217
+
218
+ ```jsx
219
+ <ProgressBar value={75} showLabel variant="blue" />
220
+ <CircularProgress value={60} variant="emerald" size={80} />
221
+ ```
222
+
223
+ ### Badges & Tags
224
+
225
+ ```jsx
226
+ <Badge>Default</Badge>
227
+ <Badge variant="blue">New</Badge>
228
+ <Badge variant="emerald">Active</Badge>
229
+ <Badge variant="rose">Error</Badge>
230
+
231
+ <StatusBadge variant="blue">Live</StatusBadge>
232
+ <StatusBadge variant="emerald">Online</StatusBadge>
233
+ ```
234
+
235
+ ## Using Icons
236
+
237
+ The kit includes 500+ icons from Lucide:
238
+
239
+ ```jsx
240
+ import { Icons } from 'vanguard-uikit';
241
+
242
+ <Icons.Zap />
243
+ <Icons.Box />
244
+ <Icons.Settings />
245
+ <Icons.User />
246
+ // ... and many more
247
+ ```
248
+
249
+ ## Theme Configuration
250
+
251
+ The kit uses these enhanced styles:
252
+
253
+ ### Glassmorphism
254
+ ```jsx
255
+ bg-gradient-to-br from-white/10 via-white/5 to-white/[0.02]
256
+ backdrop-blur-xl
257
+ border border-white/15
258
+ shadow-[0_8px_32px_rgba(0,0,0,0.3),inset_0_1px_0_rgba(255,255,255,0.1)]
259
+ ```
260
+
261
+ ### Neuromorphism
262
+ ```jsx
263
+ bg-[#0a0a0b]
264
+ shadow-[8px_8px_16px_rgba(0,0,0,0.4),-8px_-8px_16px_rgba(255,255,255,0.03)]
265
+ border border-white/5
266
+ ```
267
+
268
+ ### Liquid Glass
269
+ ```jsx
270
+ bg-gradient-to-br from-white/[0.08] via-white/[0.02] to-transparent
271
+ backdrop-blur-2xl
272
+ border border-white/10
273
+ shadow-[0_8px_32px_rgba(0,0,0,0.3),inset_0_1px_0_rgba(255,255,255,0.1)]
274
+ ```
275
+
276
+ ## Animation Variants
277
+
278
+ - `fast`: 300ms ease-out
279
+ - `slow`: 500ms cubic-bezier
280
+ - `slower`: 700ms cubic-bezier
281
+ - `liquid`: 700ms spring-like cubic-bezier
282
+
283
+ ## Color Variants
284
+
285
+ Available for badges, progress bars, and alerts:
286
+ - Blue (default)
287
+ - Emerald (success)
288
+ - Rose (danger/error)
289
+ - Amber (warning)
290
+ - Purple (premium)
291
+
292
+ ## Requirements
293
+
294
+ - React 16.8+
295
+ - Tailwind CSS 3+
296
+ - Lucide React 0.200+
297
+
298
+ ## Demo
299
+
300
+ Run the demo app to see all components:
301
+
302
+ ```bash
303
+ cd demo
304
+ npm install
305
+ npm run dev
306
+ ```
307
+
308
+ ## Changelog
309
+
310
+ ### v2.0 - Enhanced Edition
311
+ - ✨ Added glassmorphism enhancements
312
+ - 🔵 Added neuromorphic depth effects
313
+ - 💧 Added liquid glass animations
314
+ - 🎨 Holographic gradient overlays
315
+ - 🌊 Liquid refraction effects
316
+ - ⚡ Improved animations and transitions
317
+
318
+ ## License
319
+
320
+ MIT © Dream-Pixels-Forge
321
+
322
+ ---
323
+
324
+ Built with ❤️ using React + Tailwind CSS