@feminab/box-ui 0.1.2 โ 0.1.3
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 +59 -26
- package/package.json +2 -1
package/README.md
CHANGED
@@ -1,46 +1,79 @@
|
|
1
|
-
#
|
1
|
+
# ๐ฆ **BoxUI** โ Beautiful. Reusable. Fast.
|
2
2
|
|
3
|
-
|
3
|
+
A sleek and accessible collection of React + TypeScript UI components built for rapid product development. Customize, compose, and launch in style. ๐
|
4
4
|
|
5
|
-
|
5
|
+
---
|
6
6
|
|
7
|
-
|
7
|
+
## ๐ Installation
|
8
8
|
|
9
|
-
|
9
|
+
Get started with **BoxUI** in seconds:
|
10
10
|
|
11
|
-
|
12
|
-
|
11
|
+
```bash
|
12
|
+
npm install @feminab/box-ui
|
13
|
+
# or
|
14
|
+
yarn add @feminab/box-ui
|
13
15
|
|
14
|
-
|
15
|
-
|
16
|
+
๐ Live Storybook
|
17
|
+
Explore all components, props, and interactive examples:
|
18
|
+
๐ https://boxui.netlify.app
|
16
19
|
|
17
|
-
|
20
|
+
๐งฉ Components Available
|
18
21
|
|
19
|
-
|
20
|
-
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
|
22
|
+
## ๐งฉ Components Available
|
21
23
|
|
22
|
-
|
24
|
+
| Component | Description |
|
25
|
+
|------------------|---------------------------------------------|
|
26
|
+
| ๐ท๏ธ `Badge` | Highlight tags or statuses |
|
27
|
+
| ๐ `Button` | Primary, secondary, and icon buttons |
|
28
|
+
| ๐๏ธ `ButtonGroup` | Button group wrapper |
|
29
|
+
| ๐ `Colors` | Theme and color palettes |
|
30
|
+
| ๐ฑ `MobileNav` | Mobile responsive navbar |
|
31
|
+
| ๐ `Paginate` | Pagination controls |
|
32
|
+
| ๐ฝ `Select` | Dropdown select inputs |
|
33
|
+
| ๐ `SideNav` | Vertical side navigation |
|
34
|
+
| โ๏ธ `TextInput` | Input fields with labels & error states |
|
35
|
+
| ๐ค `Typography` | Typography helpers and scales |
|
23
36
|
|
24
|
-
Builds the app for production to the `build` folder.\
|
25
|
-
It correctly bundles React in production mode and optimizes the build for the best performance.
|
26
37
|
|
27
|
-
|
28
|
-
Your app is ready to be deployed!
|
38
|
+
## ๐ฆ Usage Example
|
29
39
|
|
30
|
-
|
40
|
+
Once installed, you can start using components like this:
|
31
41
|
|
32
|
-
###
|
42
|
+
### โ
Basic Button Usage
|
33
43
|
|
34
|
-
|
44
|
+
```tsx
|
45
|
+
import { Button } from '@feminab/box-ui';
|
35
46
|
|
36
|
-
|
47
|
+
export default function App() {
|
48
|
+
return (
|
49
|
+
<Button variant="primary" onClick={() => alert('Clicked!')}>
|
50
|
+
Click Me
|
51
|
+
</Button>
|
52
|
+
);
|
53
|
+
}
|
37
54
|
|
38
|
-
|
55
|
+
## ๐ป Local Development
|
56
|
+
Want to contribute or tweak locally?
|
39
57
|
|
40
|
-
|
58
|
+
# Clone the repo and install dependencies
|
59
|
+
npm install
|
41
60
|
|
42
|
-
|
61
|
+
# Run Storybook locally
|
62
|
+
npm run storybook
|
43
63
|
|
44
|
-
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
|
45
64
|
|
46
|
-
|
65
|
+
## ๐ง Author
|
66
|
+
Built with โค๏ธ by Femina Brahmbhatt
|
67
|
+
๐พ Featuring components crafted with accessibility and reusability in mind.
|
68
|
+
|
69
|
+
##๐ช License
|
70
|
+
MIT ยฉ Femina Brahmbhatt
|
71
|
+
|
72
|
+
Let me know if you'd like:
|
73
|
+
|
74
|
+
- NPM version/license/shield badges at the top
|
75
|
+
- Preview GIFs or images for components
|
76
|
+
- How to contribute or roadmap section
|
77
|
+
- Or a "Why BoxUI?" section to pitch its strengths!
|
78
|
+
|
79
|
+
Happy shipping! ๐
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@feminab/box-ui",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.3",
|
4
4
|
"private": false,
|
5
5
|
"publishConfig": {
|
6
6
|
"access": "public"
|
@@ -25,6 +25,7 @@
|
|
25
25
|
"test": "tsdx test",
|
26
26
|
"eject": "tsdx eject",
|
27
27
|
"storybook": "storybook dev -p 6006",
|
28
|
+
"storybook:build": "storybook build -o storybook-static",
|
28
29
|
"build:css": "postcss ./src/styles/tailwind.css build -o css/tailwind.dist.css --minify"
|
29
30
|
},
|
30
31
|
"eslintConfig": {
|