YAKA UI
February 12, 2026 ยท View on GitHub
YAKA UI
Next-Generation UI Framework powered by GSAP & SVG
Features โข Installation โข Usage โข Components โข Customization
๐ Overview
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.
โจ Features
- ๐จ 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.
๐ฆ Installation
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.
๐จ Usage
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.
Basic Template
<!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>
๐งฉ Components
Buttons
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>
Glass Cards
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>
Inputs & Forms
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>
Interactive Elements
Accordions
<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>
Modals
<!-- 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>
Tooltips
<button data-tooltip="I am a tooltip!">Hover Me</button>
๐จ Customization
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;
}
๐ File Structure
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
๐ค Contributing
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
๐ License
Distributed under the MIT License. See LICENSE for more information.
Made with โค๏ธ by the YAKA UI Team