Initial commit: glass panel component
This commit is contained in:
commit
bb9ab05b36
16
LICENSE
Normal file
16
LICENSE
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2026 glass-panel-ui Contributors
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to
|
||||||
|
deal in the Software without restriction, including without limitation the
|
||||||
|
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||||
|
sell copies of the Software, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
9
README.md
Normal file
9
README.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# glass-panel-ui
|
||||||
|
|
||||||
|
Frosted-glass panel and card components for Tailwind CSS projects.
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
```
|
||||||
|
npm install glass-panel-ui
|
||||||
|
```
|
||||||
7
index.js
Normal file
7
index.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
const plugin = require("tailwindcss/plugin");
|
||||||
|
|
||||||
|
module.exports = plugin(function ({ addComponents }) {
|
||||||
|
addComponents({
|
||||||
|
".glass-panel": { backdropFilter: "blur(12px)", background: "rgba(255,255,255,0.08)" },
|
||||||
|
});
|
||||||
|
});
|
||||||
6
package.json
Normal file
6
package.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "glass-panel-ui",
|
||||||
|
"version": "0.9.2",
|
||||||
|
"main": "index.js",
|
||||||
|
"license": "MIT"
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user