Skip to content

theblinnk/Yaka-UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

YAKA UI

YAKA UI Logo

YAKA UI

Next-Generation UI Framework powered by GSAP & SVG

Features β€’ Installation β€’ Usage β€’ Components β€’ Customization

License Version GSAP


πŸš€ 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.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“„ License

Distributed under the MIT License. See LICENSE for more information.


Made with ❀️ by the YAKA UI Team

About

YAKA UI is a modern front-end framework designed for developers who want visually rich interfaces without heavy dependencies. It combines CSS variables, modular architecture, and smooth animation effects to deliver responsive, customizable components that are fast, elegant, and easy to integrate. yaka-ui.vercel.app

Topics

Resources

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors