- 🎯 Copy & Paste Simplicity: No giant npm dependencies. Just beautiful code you truly own.
- 🌓 Perfect Dark Mode: Everything looks stunning in both light and dark environments with automatic system-preference detection.
- ♿ WAI-ARIA Compliant: Fully accessible components tested with screen readers.
- 📱 Responsive & Touch-Friendly: Designed for mobile-first with perfect tap targets.
- 🎨 Figma Synchronized: Comes with a pixel-perfect Figma UI kit for your designers.
# Using npm
npm install component-library-pro clsx tailwind-merge framer-motion
# Using pnpm
pnpm add component-library-pro clsx tailwind-merge framer-motion
# Using yarn
yarn add component-library-pro clsx tailwind-merge framer-motionAdd the library to your tailwind.config.js:
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,ts,jsx,tsx,mdx}",
"./node_modules/component-library-pro/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [require("tailwindcss-animate")],
}import { GlassButton } from "component-library-pro";
export default function App() {
return (
<div className="flex h-screen items-center justify-center bg-zinc-950">
<GlassButton variant="primary" pulse>
Get Started
</GlassButton>
</div>
);
}Layout & Structure
Container- Responsive constraint wrapperGrid- Advanced Bento-grid layoutsGlassPanel- Frosted glass effect containers
Form Controls
Input- Floating label text inputsSelect- Custom styled dropdownsSwitch- Animated toggle switchesCheckbox- Accessible checked states
Feedback & Overlays
Toast- Unobtrusive notificationsModal- Framer-motion powered dialogsTooltip- Smart positioning hover labels
We welcome contributions! Please see our Contributing Guide for details.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.