@sabbam/fluxcss
v1.0.0
Published
Next-generation CSS framework combining utility-first approach, pre-styled components, and advanced animations
Downloads
34
Maintainers
Readme
FluxCSS
A next-generation CSS framework that combines the utility-first approach of Tailwind, the pre-styled components of Bootstrap, and the animation capabilities of GSAP.
Features
- Utility-First: Comprehensive utility classes for rapid development
- Pre-styled Components: Ready-to-use components like buttons, cards, modals, and more
- Advanced Animations: GSAP-powered animations and scroll triggers
- Modern CSS: Container queries, glassmorphism, neumorphism, and 3D transforms
- Mobile-First: Responsive design with mobile-first approach
- Accessibility: Built-in accessibility features and focus management
- Dark Mode: Complete dark mode support
- Tree-shakeable: Only include the CSS you need
Installation
npm install fluxcssUsage
CSS Import
@import 'fluxcss/dist/fluxcss.css';HTML
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="node_modules/fluxcss/dist/fluxcss.css">
</head>
<body>
<div class="fx-card fx-shadow-lg">
<div class="fx-card-header">
<h3 class="fx-card-title">Hello FluxCSS</h3>
</div>
<div class="fx-card-body">
<p class="fx-card-text">This is a beautiful card component!</p>
<button class="fx-btn fx-btn-primary">Get Started</button>
</div>
</div>
</body>
</html>Quick Start
Buttons
<button class="fx-btn fx-btn-primary">Primary Button</button>
<button class="fx-btn fx-btn-secondary">Secondary Button</button>
<button class="fx-btn fx-btn-outline">Outline Button</button>
<button class="fx-btn fx-btn-ghost">Ghost Button</button>Cards
<div class="fx-card fx-shadow-lg">
<div class="fx-card-header">
<h3 class="fx-card-title">Card Title</h3>
</div>
<div class="fx-card-body">
<p class="fx-card-text">Card content goes here.</p>
</div>
<div class="fx-card-footer">
<button class="fx-btn fx-btn-primary">Action</button>
</div>
</div>Animations
<div class="fx-fade-in fx-scroll-reveal">
<h2>Animated Content</h2>
</div>Documentation
Visit our documentation site for complete guides and examples.
License
MIT License - see LICENSE file for details.
Contributing
We welcome contributions! Please see our Contributing Guide for details.
