strivui 1.22.4 → 1.22.5
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 +55 -46
- package/package.json +4 -1
package/README.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://github.com/Syed-Dev-Sphere/StrivUI/blob/main/strivui_logo.png?raw=true" width="250" alt="StrivUI Logo" />
|
|
3
|
+
</p>
|
|
2
4
|
|
|
3
|
-
*StrivUI** is a hybrid, utility-first UI component library built for **React**, designed to feel instantly familiar to both **React Native** and **Web developers**. Powered by a **Tailwind CSS class-based approach** and written in **TypeScript**, it delivers a seamless and consistent design system for modern applications.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
**🚀StrivUI** is a hybrid, utility-first UI component library built for **React**, designed to feel instantly familiar to both **React Native** and **Web developers**. It follows a **class-based styling approach** and is written in **TypeScript**, delivering a seamless and consistent design system for modern applications.
|
|
6
7
|
|
|
8
|
+
Every component in StrivUI comes with **thoughtfully crafted default styles**, allowing you to build polished interfaces out of the box — while still offering full flexibility for customization.
|
|
7
9
|
|
|
8
10
|
> Developed with ❤️ by [Syed Abdullah Ali](https://github.com/syedabdullahali)
|
|
9
11
|
|
|
@@ -11,12 +13,12 @@ Every component in StrivUI comes with **thoughtfully crafted default styles**, i
|
|
|
11
13
|
|
|
12
14
|
## ✨ Why StrivUI?
|
|
13
15
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
* ⚡ **Utility-first styling** using a class-based approach
|
|
17
|
+
* 📱 **React Native-style components** like `<View />`, `<Text />`, and `<FlatList />`
|
|
18
|
+
* 🌐 **Web-native components** like `<Header />`, `<Section />`, and `<Card />`
|
|
19
|
+
* 🧩 Shared UI building blocks for fast development
|
|
20
|
+
* 🛠️ Built with TypeScript — safe and scalable
|
|
21
|
+
* 💻 Lightweight and blazing fast
|
|
20
22
|
|
|
21
23
|
---
|
|
22
24
|
|
|
@@ -27,7 +29,7 @@ Install with npm or yarn:
|
|
|
27
29
|
```bash
|
|
28
30
|
npm install strivui
|
|
29
31
|
# or
|
|
30
|
-
yarn add strivui
|
|
32
|
+
comingSoon-> yarn add strivui
|
|
31
33
|
```
|
|
32
34
|
|
|
33
35
|
---
|
|
@@ -40,7 +42,7 @@ yarn add strivui
|
|
|
40
42
|
import { Button } from 'strivui';
|
|
41
43
|
|
|
42
44
|
function App() {
|
|
43
|
-
return <Button className="bg-blue-500 text-white px-4 py-2 rounded">Click Me</Button>;
|
|
45
|
+
return <Button className="bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-400">Click Me</Button>;
|
|
44
46
|
}
|
|
45
47
|
```
|
|
46
48
|
|
|
@@ -50,7 +52,7 @@ function App() {
|
|
|
50
52
|
import { Button } from 'strivui';
|
|
51
53
|
|
|
52
54
|
const App: React.FC = () => {
|
|
53
|
-
return <Button className="bg-blue-500 text-white px-4 py-2 rounded">Click Me</Button>;
|
|
55
|
+
return <Button className="bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-400">Click Me</Button>;
|
|
54
56
|
};
|
|
55
57
|
```
|
|
56
58
|
|
|
@@ -59,54 +61,57 @@ const App: React.FC = () => {
|
|
|
59
61
|
## 🧱 Component Categories
|
|
60
62
|
|
|
61
63
|
### 🟣 React Native–Inspired Components
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
64
|
+
|
|
65
|
+
Familiar primitives brought to the web:
|
|
66
|
+
|
|
67
|
+
* `<View />`
|
|
68
|
+
* `<Text />`
|
|
69
|
+
* `<ScrollView />`
|
|
70
|
+
* `<Pressable />`
|
|
71
|
+
* `<TouchableOpacity />`
|
|
72
|
+
* `<FlatList />`
|
|
73
|
+
* `<SectionList />`
|
|
74
|
+
* `<Image />`
|
|
75
|
+
* `<ImageBackground />`
|
|
76
|
+
* `<ActivityIndicator />`
|
|
74
77
|
|
|
75
78
|
---
|
|
76
79
|
|
|
77
80
|
### 🔵 Web Layout Components
|
|
78
|
-
Semantic tags for building structured, responsive UIs:
|
|
79
81
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
82
|
+
Semantic elements for responsive structure:
|
|
83
|
+
|
|
84
|
+
* `<Header />`
|
|
85
|
+
* `<Footer />`
|
|
86
|
+
* `<Main />`
|
|
87
|
+
* `<Section />`
|
|
88
|
+
* `<Navigation />`
|
|
89
|
+
* `<Container />`
|
|
90
|
+
* `<Card />`
|
|
87
91
|
|
|
88
92
|
---
|
|
89
93
|
|
|
90
94
|
### 🟢 Shared UI Components
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
95
|
+
|
|
96
|
+
Reusable components for forms, modals, tables, etc.:
|
|
97
|
+
|
|
98
|
+
* `<Button />`
|
|
99
|
+
* `<Input />`
|
|
100
|
+
* `<TextArea />`
|
|
101
|
+
* `<Select />`
|
|
102
|
+
* `<Link />`
|
|
103
|
+
* `<Modal />`
|
|
104
|
+
* `<Dialog />`
|
|
105
|
+
* `<Overlay />`
|
|
106
|
+
* `<Table />`, `<TableHead />`, `<TableBody />`, `<TableRow />`, `<TableHeaderCell />`, `<TableDataCell />`
|
|
102
107
|
|
|
103
108
|
---
|
|
104
109
|
|
|
105
110
|
## 🎨 Styling & Theming
|
|
106
111
|
|
|
107
|
-
StrivUI uses
|
|
112
|
+
StrivUI uses a **utility-first, class-based styling approach**. You can customize components using `className` with your own styles or design system.
|
|
108
113
|
|
|
109
|
-
> Coming soon: `strive.config.js` for
|
|
114
|
+
> Coming soon: `strive.config.js` for overriding design tokens like colors, spacing, font scale, and variants.
|
|
110
115
|
|
|
111
116
|
---
|
|
112
117
|
|
|
@@ -114,7 +119,7 @@ StrivUI uses **Tailwind CSS** under the hood. You can fully customize styles usi
|
|
|
114
119
|
|
|
115
120
|
Full documentation and interactive previews will be available at:
|
|
116
121
|
|
|
117
|
-
📘 [https://
|
|
122
|
+
📘 [https://css\_striv\_ui.com](https://css_striv_ui.com)
|
|
118
123
|
|
|
119
124
|
---
|
|
120
125
|
|
|
@@ -146,3 +151,7 @@ We love contributions!
|
|
|
146
151
|
## 📄 License
|
|
147
152
|
|
|
148
153
|
MIT © 2025 [Syed Abdullah Ali](https://github.com/syedabdullahali)
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
Let me know if you want to auto-generate badges, README visuals, or a live storybook section too!
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "strivui",
|
|
3
|
-
"version": "1.22.
|
|
3
|
+
"version": "1.22.5",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "npx sass app/styles/striveui.scss dist/striveui.css && rollup -c",
|
|
6
6
|
"clean": "rimraf dist"
|
|
@@ -35,6 +35,9 @@
|
|
|
35
35
|
"type": "git",
|
|
36
36
|
"url": "git+https://github.com/Syed-Dev-Sphere/StrivUI.git"
|
|
37
37
|
},
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public"
|
|
40
|
+
},
|
|
38
41
|
"license": "MIT",
|
|
39
42
|
"author": "Syed Abdullah Ali",
|
|
40
43
|
"type": "module",
|