Next-Generation UI Framework powered by GSAP & SVG
Features β’ Installation β’ Usage β’ Components β’ Customization
DoCS - https://yaka-ui.vercel.app/docs.html
YAKA UI is a lightweight, high-performance UI framework designed for creating stunning, interactive web interfaces with minimal effort. It leverages the power of GSAP (GreenSock Animation Platform) for buttery smooth 60fps animations and uses SVG for crisp, scalable graphics.
Built with modern ES Modules and CSS3 Variables, YAKA UI brings premium "Glassmorphism" aesthetics and complex physics-based interactions to your project without the bloat.
- π¨ Glassmorphism Ready: Pre-styled, beautiful frosted glass components.
- β‘ GSAP Powered: Best-in-class animation performance for complex interactions.
- π§² Magnetic Elements: Buttons and interactive elements that snap to your cursor.
- π§ 3D Tilt Effects: Cards that react to mouse movement with 3D perspective.
- π±οΈ Custom Cursor: integrated smooth custom cursor with hover states.
- π± Fully Responsive: Mobile-first design that looks great on all devices.
- π§ Modular Architecture: Import only what you need.
- π Themable: Built entirely with CSS variables for easy customization.
Simply include the yaka.css and yaka.js files via CDN in your project.
<!-- Add CSS in <head> -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/dill-lk/YAKA-UI/yaka.css">
<!-- Add JS at the end of <body> -->
<script type="module" src="https://cdn.jsdelivr.net/gh/dill-lk/YAKA-UI/yaka.js"></script>Note: YAKA UI imports GSAP via CDN automatically in
yaka.js. Ensure you have an internet connection or bundle GSAP locally.
YAKA UI automatically initializes its core components upon loading. You can use specific data attributes and classes to activate features immediately without writing extra JavaScript.
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/dill-lk/YAKA-UI/yaka.css">
</head>
<body>
<button class="btn-primary" data-magnetic>Hover Me</button>
<script type="module" src="https://cdn.jsdelivr.net/gh/dill-lk/YAKA-UI/yaka.js"></script>
</body>
</html>YAKA UI provides a variety of button styles with built-in interaction effects.
<!-- Primary Magnetic Button -->
<button class="btn-primary" data-magnetic>
<span>Get Started</span>
<svg class="btn-bg">...</svg>
</button>
<!-- Glow Button -->
<button class="btn-glow" data-magnetic>
<span>Explore</span>
</button>
<!-- Cyber/Glitch Button -->
<button class="btn-glitch" data-text="CYBER">CYBER</button>Beautiful glassmorphism cards with optional 3D tilt effects.
<div class="card glass-card" data-tilt>
<div class="card-content">
<h3>Smart Card</h3>
<p>Interactive glassmorphism with 3D tilt.</p>
</div>
<!-- Optional animated border -->
<div class="card-border"></div>
</div>Modern input fields with animated borders and floating labels.
<!-- Minimal Input -->
<div class="input-minimal">
<input type="text" placeholder=" " id="username">
<label for="username">Username</label>
</div>
<!-- Glass Input -->
<div class="input-glass">
<input type="email" placeholder="Email Address">
</div><div class="accordion-item">
<div class="accordion-header">
Click to Expand <span class="accordion-icon">βΌ</span>
</div>
<div class="accordion-content">
<p>Smooth expanding content...</p>
</div>
</div><!-- Trigger -->
<button data-trigger-modal="myModal">Open Modal</button>
<!-- Modal Structure -->
<div id="myModal" class="modal-overlay">
<div class="modal">
<div class="modal-header">
<h3>Title</h3>
<button class="modal-close">Γ</button>
</div>
<div class="modal-body">
Hello World!
</div>
</div>
</div><button data-tooltip="I am a tooltip!">Hover Me</button>YAKA UI is built with CSS variables. You can easily override them in your own CSS to match your brand.
:root {
/* Brand Colors */
--accent: #FF3CAC; /* Main Accent (Pink) */
--accent-2: #784BA0; /* Secondary (Purple) */
/* Backgrounds */
--bg-dark: #0a0a0a;
--glass-bg: rgba(255, 255, 255, 0.03);
/* Typography */
--font-main: 'Outfit', sans-serif;
}c:\Users\Dell\Desktop\YAKA UI\
βββ index.html # Demo/Showcase page
βββ docs.html # Documentation
βββ yaka.css # Core styles & variables
βββ yaka.js # Core logic & GSAP integration
βββ favicon.png # Project Icon
Contributions are welcome! Please feel free to submit a Pull Request.
- 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.
Made with β€οΈ by the YAKA UI Team