@glass-ui-kit/cli
v0.2.0
Published
The official CLI for Glass UI. Add glassmorphism components to your React projects in seconds.
Downloads
200
Maintainers
Readme
@glass-ui-kit/cli
The official CLI for Glass UI. Add premium glassmorphism components to your React projects in seconds.
init
Use the init command to initialize the project configuration.
The init command:
- Creates a
glass.config.jsonfile. - Generates the
cnutility atsrc/lib/utils.ts. - Installs necessary dependencies (
clsx,tailwind-merge). - Injects Glass Physics variables into your global CSS.
npx @glass-ui-kit/cli init
add
Use the add command to add components to your project.
The add command downloads the component source code and places it directly into your project.
npx @glass-ui-kit/cli add [component]
Example
npx @glass-ui-kit/cli add card
Documentation
Visit https://ui-glass.vercel.app to view the registry and documentation.
License
Licensed under the MIT license.
