A cross-framework UI component library with stunning liquid glass aesthetics.
Glasnost UI provides a suite of beautiful, modern components for React, Vue, and Svelte, all built with a unique liquid glass effect. The library is designed to be easy to use, highly customizable, and performant, enabling you to create visually striking interfaces with minimal effort.
pnpm
and Turborepo
for a streamlined development experience.This monorepo contains the following packages:
Package | Version | Description | README |
---|---|---|---|
packages/react |
React components | Read Me | |
packages/vue |
Vue components | Read Me | |
packages/svelte |
Svelte components | Read Me | |
packages/shared |
Shared styles, types, and utilities | Read Me |
Clone the repository:
git clone https://github.com/your-username/glasnost.git
cd glasnost
Install dependencies:
This project uses pnpm
workspaces. Install all dependencies from the root directory.
pnpm install
You can run the documentation app for each framework to see the components in action.
React Docs:
pnpm --filter @glasnost-ui/react-docs dev
Open http://localhost:3001 in your browser.
Vue Docs:
pnpm --filter @glasnost-ui/docs dev
Open http://localhost:3000 in your browser.
Svelte Docs:
pnpm --filter @glasnost-ui/svelte-docs dev
Open http://localhost:3002 in your browser.
We welcome contributions of all kinds! Whether it's reporting a bug, proposing a new feature, or submitting a pull request, your help is appreciated.
main
.pnpm test
.This project uses Turborepo to manage monorepo scripts. You can run scripts from the root package.json
to target all packages at once.
pnpm dev
: Start development servers for all packages and docs apps.pnpm build
: Build all packages and docs apps.pnpm test
: Run tests for all packages.pnpm lint
: Lint all packages.pnpm clean
: Clean all dist
and node_modules
folders.pnpm format
: Format the entire codebase with Prettier.You can also run scripts for a specific package using the --filter
flag:
# Build only the React package
pnpm --filter @glasnost-ui/react build
pnpm format
before committing your changes.To add a new component, follow these steps:
packages/[framework]/src/components
directory.packages/[framework]/src/index.ts
.apps/[framework]-docs
to showcase its functionality.This project is licensed under the MIT License. See the LICENSE file for details.