@bodyhc/blazeui 0.1.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 +216 -0
- package/dist/assets/.gitkeep +0 -0
- package/dist/blaze-ui.es.js +20967 -0
- package/dist/blaze-ui.umd.js +183 -0
- package/package.json +74 -0
package/README.md
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
# 🔥 BlazeUI
|
|
2
|
+
|
|
3
|
+
A beautiful, modern, and accessible component library for React built with Radix UI and Tailwind CSS.
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+

|
|
8
|
+

|
|
9
|
+
|
|
10
|
+
## ✨ Features
|
|
11
|
+
|
|
12
|
+
- 🎨 **30+ Beautiful Components** - Ready-to-use components built with Radix UI primitives
|
|
13
|
+
- 🌓 **Dark Mode Support** - Built-in dark/light theme toggle
|
|
14
|
+
- 📱 **Fully Responsive** - All components work seamlessly across all screen sizes
|
|
15
|
+
- ♿ **Accessible** - Built on Radix UI primitives following WAI-ARIA patterns
|
|
16
|
+
- 🎭 **Customizable** - Easy to customize with Tailwind CSS
|
|
17
|
+
- ⚡ **Performance Optimized** - Lightweight and fast
|
|
18
|
+
- 🎯 **TypeScript** - Full TypeScript support for better developer experience
|
|
19
|
+
- 🚀 **Copy & Paste** - Copy component code directly and use in your project
|
|
20
|
+
|
|
21
|
+
## 🚀 Getting Started
|
|
22
|
+
|
|
23
|
+
### Prerequisites
|
|
24
|
+
|
|
25
|
+
- Node.js 18+
|
|
26
|
+
- npm or yarn or pnpm
|
|
27
|
+
|
|
28
|
+
### Installation
|
|
29
|
+
|
|
30
|
+
1. Clone the repository:
|
|
31
|
+
```bash
|
|
32
|
+
git clone https://github.com/yourusername/blazeui.git
|
|
33
|
+
cd blazeui
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
2. Install dependencies:
|
|
37
|
+
```bash
|
|
38
|
+
npm install
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
3. Start the development server:
|
|
42
|
+
```bash
|
|
43
|
+
npm run dev
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
4. Open [http://localhost:5173](http://localhost:5173) in your browser.
|
|
47
|
+
|
|
48
|
+
## 📦 Available Components
|
|
49
|
+
|
|
50
|
+
### Basic Components
|
|
51
|
+
- Button
|
|
52
|
+
- Input
|
|
53
|
+
- Textarea
|
|
54
|
+
- Label
|
|
55
|
+
- Badge
|
|
56
|
+
- Card
|
|
57
|
+
- Alert
|
|
58
|
+
- Avatar
|
|
59
|
+
- Skeleton
|
|
60
|
+
- Separator
|
|
61
|
+
|
|
62
|
+
### Form Components
|
|
63
|
+
- Checkbox
|
|
64
|
+
- Radio Group
|
|
65
|
+
- Switch
|
|
66
|
+
- Select
|
|
67
|
+
- Slider
|
|
68
|
+
- Progress
|
|
69
|
+
|
|
70
|
+
### Overlay Components
|
|
71
|
+
- Dialog
|
|
72
|
+
- Sheet
|
|
73
|
+
- Popover
|
|
74
|
+
- Tooltip
|
|
75
|
+
- Hover Card
|
|
76
|
+
- Dropdown Menu
|
|
77
|
+
|
|
78
|
+
### Layout Components
|
|
79
|
+
- Tabs
|
|
80
|
+
- Accordion
|
|
81
|
+
- Scroll Area
|
|
82
|
+
- Command
|
|
83
|
+
- Timeline
|
|
84
|
+
|
|
85
|
+
### Special Effects
|
|
86
|
+
- 3D Card
|
|
87
|
+
- Magic Card
|
|
88
|
+
- Pixel Card
|
|
89
|
+
- Glitch Text
|
|
90
|
+
- Sparkles
|
|
91
|
+
- Magnet Button
|
|
92
|
+
- Animated Number
|
|
93
|
+
|
|
94
|
+
## 🛠️ Tech Stack
|
|
95
|
+
|
|
96
|
+
- **React 18.2** - UI library
|
|
97
|
+
- **TypeScript** - Type safety
|
|
98
|
+
- **Vite** - Build tool
|
|
99
|
+
- **Tailwind CSS** - Styling
|
|
100
|
+
- **Radix UI** - Accessible primitives
|
|
101
|
+
- **Framer Motion** - Animations
|
|
102
|
+
- **React Router** - Routing
|
|
103
|
+
- **Lucide React** - Icons
|
|
104
|
+
|
|
105
|
+
## 📂 Project Structure
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
blazeui/
|
|
109
|
+
├── src/
|
|
110
|
+
│ ├── components/
|
|
111
|
+
│ │ ├── ui/ # UI components
|
|
112
|
+
│ │ ├── layout/ # Layout components
|
|
113
|
+
│ │ └── marketing/ # Marketing components
|
|
114
|
+
│ ├── pages/
|
|
115
|
+
│ │ ├── docs/ # Documentation pages
|
|
116
|
+
│ │ └── ... # Other pages
|
|
117
|
+
│ ├── contexts/ # React contexts
|
|
118
|
+
│ ├── lib/ # Utility functions
|
|
119
|
+
│ ├── App.tsx # Main app component
|
|
120
|
+
│ └── main.tsx # Entry point
|
|
121
|
+
├── public/ # Static assets
|
|
122
|
+
└── dist/ # Build output
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## 📖 Usage
|
|
126
|
+
|
|
127
|
+
### Using Components
|
|
128
|
+
|
|
129
|
+
1. Browse components at `/components` or read docs at `/docs`
|
|
130
|
+
2. Copy the component code
|
|
131
|
+
3. Paste into your project
|
|
132
|
+
4. Customize as needed with Tailwind CSS
|
|
133
|
+
|
|
134
|
+
### Example
|
|
135
|
+
|
|
136
|
+
```tsx
|
|
137
|
+
import { Button } from "@/components/ui/button";
|
|
138
|
+
|
|
139
|
+
function App() {
|
|
140
|
+
return (
|
|
141
|
+
<Button variant="default" size="lg">
|
|
142
|
+
Click me
|
|
143
|
+
</Button>
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
### Theme Setup
|
|
149
|
+
|
|
150
|
+
BlazeUI uses a theme provider for dark/light mode support. Wrap your app with the ThemeProvider:
|
|
151
|
+
|
|
152
|
+
```tsx
|
|
153
|
+
import { ThemeProvider } from "@/components/theme-provider";
|
|
154
|
+
|
|
155
|
+
function App() {
|
|
156
|
+
return (
|
|
157
|
+
<ThemeProvider defaultTheme="dark" storageKey="vite-ui-theme">
|
|
158
|
+
{/* Your app */}
|
|
159
|
+
</ThemeProvider>
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
## 🎨 Theming
|
|
165
|
+
|
|
166
|
+
BlazeUI supports customizable themes through Tailwind CSS. You can customize colors, spacing, and more in your `tailwind.config.js`:
|
|
167
|
+
|
|
168
|
+
```js
|
|
169
|
+
module.exports = {
|
|
170
|
+
theme: {
|
|
171
|
+
extend: {
|
|
172
|
+
colors: {
|
|
173
|
+
// Your custom colors
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
}
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
## 📝 Scripts
|
|
181
|
+
|
|
182
|
+
- `npm run dev` - Start development server
|
|
183
|
+
- `npm run build` - Build for production
|
|
184
|
+
- `npm run preview` - Preview production build
|
|
185
|
+
- `npm run lint` - Run ESLint
|
|
186
|
+
|
|
187
|
+
## 🤝 Contributing
|
|
188
|
+
|
|
189
|
+
Contributions are welcome! Please feel free to submit a Pull Request.
|
|
190
|
+
|
|
191
|
+
1. Fork the repository
|
|
192
|
+
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
|
|
193
|
+
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
|
|
194
|
+
4. Push to the branch (`git push origin feature/AmazingFeature`)
|
|
195
|
+
5. Open a Pull Request
|
|
196
|
+
|
|
197
|
+
## 📄 License
|
|
198
|
+
|
|
199
|
+
This project is open source and available under the [MIT License](LICENSE).
|
|
200
|
+
|
|
201
|
+
## 🔗 Links
|
|
202
|
+
|
|
203
|
+
- [Documentation](https://blazeui.com/docs)
|
|
204
|
+
- [Components](https://blazeui.com/components)
|
|
205
|
+
- [GitHub](https://github.com/yourusername/blazeui)
|
|
206
|
+
|
|
207
|
+
## 💡 Acknowledgments
|
|
208
|
+
|
|
209
|
+
- [Radix UI](https://www.radix-ui.com/) - For accessible primitives
|
|
210
|
+
- [shadcn/ui](https://ui.shadcn.com/) - For inspiration and component patterns
|
|
211
|
+
- [Tailwind CSS](https://tailwindcss.com/) - For utility-first CSS
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
Made with ❤️ by the BlazeUI team
|
|
216
|
+
|
|
File without changes
|