aura-ui-library 1.0.19 → 1.0.23
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 +107 -93
- package/dist/index.js +1147 -538
- package/dist/index.mjs +1155 -541
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,121 +1,135 @@
|
|
|
1
|
-
# Aura UI Library
|
|
1
|
+
# Aura UI Library
|
|
2
2
|
|
|
3
|
-
A premium
|
|
3
|
+
A premium React UI component library with cinematic interactions, "quiet luxury" aesthetics, and inline-style-first customization.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Aura UI focuses on:
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
- Motion-rich components powered by GSAP and Framer Motion
|
|
8
|
+
- Easy drop-in usage with no external CSS requirement
|
|
9
|
+
- Theme-aware building blocks for modern marketing and product interfaces
|
|
8
10
|
|
|
9
|
-
|
|
10
|
-
- **Magnetic Interactions**: Components that react organically to cursor proximity.
|
|
11
|
-
- **Glassmorphism**: Modern, translucent interfaces using backdrop filters.
|
|
12
|
-
- **No CSS Overload**: Zero external CSS files or utility-class dependencies.
|
|
13
|
-
- **Fully Customizable**: Control every aspect via props (colors, easing, timing).
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
## 🚀 Installation
|
|
18
|
-
|
|
19
|
-
Install the package via npm:
|
|
11
|
+
## Installation
|
|
20
12
|
|
|
21
13
|
```bash
|
|
22
14
|
npm install aura-ui-library
|
|
23
15
|
```
|
|
24
16
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
yarn add aura-ui-library
|
|
29
|
-
```
|
|
17
|
+
## Peer Dependencies
|
|
30
18
|
|
|
31
|
-
|
|
32
|
-
Ensure you have the required peer dependencies installed in your React project:
|
|
19
|
+
Install peer dependencies in your app:
|
|
33
20
|
|
|
34
21
|
```bash
|
|
35
|
-
npm install gsap react-icons react-router-dom
|
|
22
|
+
npm install react react-dom gsap framer-motion react-icons react-router-dom
|
|
36
23
|
```
|
|
37
24
|
|
|
38
|
-
|
|
25
|
+
Minimum React version: `18.0.0`
|
|
39
26
|
|
|
40
|
-
##
|
|
41
|
-
|
|
42
|
-
### 1. Magnetic Button
|
|
43
|
-
A physics-based button with parallax content motion.
|
|
27
|
+
## Quick Start
|
|
44
28
|
|
|
45
29
|
```jsx
|
|
46
|
-
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
30
|
+
import { Button, Grid, ParallaxImage } from "aura-ui-library";
|
|
31
|
+
|
|
32
|
+
export default function App() {
|
|
33
|
+
return (
|
|
34
|
+
<>
|
|
35
|
+
<ParallaxImage
|
|
36
|
+
title="Build The Future"
|
|
37
|
+
subtitle="Precision React components for modern startups."
|
|
38
|
+
theme="dark"
|
|
39
|
+
accentColor="#f43f5e"
|
|
40
|
+
style={{ minHeight: "80vh" }}
|
|
41
|
+
/>
|
|
42
|
+
|
|
43
|
+
<Grid
|
|
44
|
+
theme="light"
|
|
45
|
+
columns="repeat(3, 1fr)"
|
|
46
|
+
gap="24px"
|
|
47
|
+
items={[
|
|
48
|
+
{
|
|
49
|
+
id: 1,
|
|
50
|
+
title: "Speed",
|
|
51
|
+
description: "120fps animations",
|
|
52
|
+
span: "col-2",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
id: 2,
|
|
56
|
+
title: "Quality",
|
|
57
|
+
description: "Editorial grade",
|
|
58
|
+
span: "normal",
|
|
59
|
+
},
|
|
60
|
+
]}
|
|
61
|
+
/>
|
|
62
|
+
|
|
63
|
+
<Button
|
|
64
|
+
variant="primary"
|
|
65
|
+
theme="dark"
|
|
66
|
+
onClick={() => console.log("Clicked")}
|
|
67
|
+
>
|
|
68
|
+
Get Started
|
|
69
|
+
</Button>
|
|
70
|
+
</>
|
|
71
|
+
);
|
|
72
|
+
}
|
|
57
73
|
```
|
|
58
74
|
|
|
59
|
-
|
|
60
|
-
A dynamic hero section with a mouse-following spotlight effect.
|
|
75
|
+
## Customization
|
|
61
76
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
<Spotlight
|
|
67
|
-
title="Design the Future"
|
|
68
|
-
subtitle="Build high-performance interfaces with cinematic motion."
|
|
69
|
-
accentColor="#f43f5e"
|
|
70
|
-
/>
|
|
71
|
-
);
|
|
72
|
-
```
|
|
77
|
+
Most components support:
|
|
78
|
+
|
|
79
|
+
- `theme`: Usually `dark` or `light` (component dependent)
|
|
80
|
+
- `style`: Inline style object merged into the root element
|
|
73
81
|
|
|
74
|
-
|
|
75
|
-
A cinematic masonry layout with staggered entrance animations.
|
|
82
|
+
Example:
|
|
76
83
|
|
|
77
84
|
```jsx
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
]}
|
|
86
|
-
columns={3}
|
|
87
|
-
gap={24}
|
|
88
|
-
/>
|
|
89
|
-
);
|
|
85
|
+
<Grid
|
|
86
|
+
theme="dark"
|
|
87
|
+
style={{
|
|
88
|
+
padding: "120px 20px",
|
|
89
|
+
backgroundColor: "#0a0a0a",
|
|
90
|
+
}}
|
|
91
|
+
/>
|
|
90
92
|
```
|
|
91
93
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
94
|
+
## Exported Components
|
|
95
|
+
|
|
96
|
+
The library currently exports the following components:
|
|
97
|
+
|
|
98
|
+
- `Button`
|
|
99
|
+
- `Navbar`
|
|
100
|
+
- `Spotlight`
|
|
101
|
+
- `Carousel`
|
|
102
|
+
- `ProductCard`
|
|
103
|
+
- `Image`
|
|
104
|
+
- `TextWriting`
|
|
105
|
+
- `SideBar`
|
|
106
|
+
- `ProjectShowCase`
|
|
107
|
+
- `Skills`
|
|
108
|
+
- `PinterestGrid`
|
|
109
|
+
- `TextImage`
|
|
110
|
+
- `Grid`
|
|
111
|
+
- `Testimonials`
|
|
112
|
+
- `Footer`
|
|
113
|
+
- `Canvas`
|
|
114
|
+
- `ParallaxImage`
|
|
115
|
+
- `SVGPathAnimation`
|
|
116
|
+
- `Hero`
|
|
117
|
+
- `HorizontalScrollSection`
|
|
118
|
+
|
|
119
|
+
## Design Philosophy
|
|
120
|
+
|
|
121
|
+
Aura UI is built for teams that care about the feel of interfaces as much as functionality.
|
|
122
|
+
|
|
123
|
+
- Performance: Motion patterns prioritize transforms and opacity for smooth rendering.
|
|
124
|
+
- Portability: Components are designed to work without Tailwind, SASS, or CSS module setup.
|
|
125
|
+
- Customizability: Root style passthrough makes brand adaptation straightforward.
|
|
126
|
+
|
|
127
|
+
## Build (Library)
|
|
109
128
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
Aura UI is built for developers who care about the "soul" of an interface. We prioritize:
|
|
114
|
-
- **Performance**: GSAP ensures all animations run at 60fps.
|
|
115
|
-
- **Subtlety**: Micro-animations that enhance rather than distract.
|
|
116
|
-
- **Portability**: Drop a component into any codebase without setting up PostCSS, Tailwind, or SASS.
|
|
129
|
+
```bash
|
|
130
|
+
npm run build
|
|
131
|
+
```
|
|
117
132
|
|
|
118
|
-
|
|
133
|
+
## License
|
|
119
134
|
|
|
120
|
-
|
|
121
|
-
ISC © [Ritik](https://github.com/RitikWeb22)
|
|
135
|
+
ISC © [RitikWeb22](https://github.com/RitikWeb22)
|