@nkanish/liquidglass-ui 0.0.0-stage → 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/LICENSE +21 -0
- package/README.md +128 -2
- package/dist/index.cjs +5535 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +660 -0
- package/dist/index.d.ts +660 -0
- package/dist/index.js +5425 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.css +425 -0
- package/package.json +100 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Nitin Kanish, Debugged Pro
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,129 @@
|
|
|
1
|
-
#
|
|
1
|
+
# LiquidGlass UI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Advanced Apple Liquid Glass (iOS 26 / macOS Tahoe) UI component library for React
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/@nkanish/liquidglass-ui)
|
|
6
|
+
[](LICENSE)
|
|
7
|
+
|
|
8
|
+
## What is LiquidGlass UI?
|
|
9
|
+
|
|
10
|
+
LiquidGlass UI brings Apple's beautiful Liquid Glass design language to the web. It features authentic glass effects with backdrop blur, SVG refraction/lensing, and smooth animations that respond to user interaction.
|
|
11
|
+
|
|
12
|
+
## Screenshots
|
|
13
|
+
|
|
14
|
+
### Landing Page (Dark Theme)
|
|
15
|
+

|
|
16
|
+
|
|
17
|
+
### Component Documentation
|
|
18
|
+

|
|
19
|
+
|
|
20
|
+
### Mobile View
|
|
21
|
+

|
|
22
|
+
|
|
23
|
+
## Key Features
|
|
24
|
+
|
|
25
|
+
- **57 Components** - Comprehensive UI toolkit with 41 component files
|
|
26
|
+
- **Authentic Glass Effect** - Backdrop blur with SVG displacement filters
|
|
27
|
+
- **Dark Mode** - Automatic light/dark theme switching
|
|
28
|
+
- **Accessible** - Full ARIA support and keyboard navigation
|
|
29
|
+
- **TypeScript** - Complete type definitions
|
|
30
|
+
- **Zero Dependencies** - Only React as peer dependency
|
|
31
|
+
- **86 Tests** - Comprehensive test coverage
|
|
32
|
+
|
|
33
|
+
## Quick Start
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
npm install @nkanish/liquidglass-ui
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
```tsx
|
|
40
|
+
import { GlassProvider, Button, GlassCard } from '@nkanish/liquidglass-ui';
|
|
41
|
+
import '@nkanish/liquidglass-ui/styles.css';
|
|
42
|
+
|
|
43
|
+
function App() {
|
|
44
|
+
return (
|
|
45
|
+
<GlassProvider>
|
|
46
|
+
<GlassCard>
|
|
47
|
+
<h1>Hello, Glass!</h1>
|
|
48
|
+
<Button variant="filled">Click me</Button>
|
|
49
|
+
</GlassCard>
|
|
50
|
+
</GlassProvider>
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Documentation
|
|
56
|
+
|
|
57
|
+
See the full documentation and live demos: [Documentation Site](https://nitinkanish.github.io/liquidglass-ui/)
|
|
58
|
+
|
|
59
|
+
## Repository Structure
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
liquidglass-ui/
|
|
63
|
+
├── packages/
|
|
64
|
+
│ └── liquidglass-ui/ # The npm package
|
|
65
|
+
├── apps/
|
|
66
|
+
│ └── docs/ # Documentation site
|
|
67
|
+
├── docs/
|
|
68
|
+
│ ├── research.md # Research notes
|
|
69
|
+
│ └── PUBLISHING.md # Publishing guide
|
|
70
|
+
└── .github/
|
|
71
|
+
└── workflows/ # CI/CD workflows
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Development
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
# Install dependencies
|
|
78
|
+
pnpm install
|
|
79
|
+
|
|
80
|
+
# Start docs dev server
|
|
81
|
+
pnpm dev
|
|
82
|
+
|
|
83
|
+
# Build library
|
|
84
|
+
pnpm build:lib
|
|
85
|
+
|
|
86
|
+
# Run tests
|
|
87
|
+
pnpm test
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## Component List
|
|
91
|
+
|
|
92
|
+
### Layout
|
|
93
|
+
- GlassProvider, Glass, GlassCard
|
|
94
|
+
|
|
95
|
+
### Buttons
|
|
96
|
+
- Button, IconButton, Toggle
|
|
97
|
+
|
|
98
|
+
### Forms
|
|
99
|
+
- Input, Textarea, SearchField, Select, Checkbox, Radio, Switch, Slider, DatePicker
|
|
100
|
+
|
|
101
|
+
### Navigation
|
|
102
|
+
- TabBar, SegmentedControl, Tabs, Navbar, Sidebar, Dock, Carousel
|
|
103
|
+
|
|
104
|
+
### Overlays
|
|
105
|
+
- Modal, Sheet, Menu, Tooltip, Drawer, Popover, ContextMenu, CommandPalette
|
|
106
|
+
|
|
107
|
+
### Feedback
|
|
108
|
+
- Toast, Alert, Progress, Spinner
|
|
109
|
+
|
|
110
|
+
### Data Display
|
|
111
|
+
- Badge, Avatar, Chip, Accordion, Separator, Skeleton
|
|
112
|
+
|
|
113
|
+
### Actions
|
|
114
|
+
- FloatingActionButton (FAB)
|
|
115
|
+
|
|
116
|
+
## Browser Support
|
|
117
|
+
|
|
118
|
+
- Chrome 76+
|
|
119
|
+
- Firefox 103+
|
|
120
|
+
- Safari 9+
|
|
121
|
+
- Edge 79+
|
|
122
|
+
|
|
123
|
+
## License
|
|
124
|
+
|
|
125
|
+
MIT License - Copyright (c) 2026 Nitin Kanish, Debugged Pro
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
**Developed by Nitin Kanish, Debugged Pro**
|