npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

byte-ui-neo

v1.1.4

Published

A modern, lightweight CSS framework built with Sass and vanilla JavaScript

Readme

🌟 Byte UI Neo Framework

📖 Overview

Byte UI Neo is a modern, lightweight, and highly customizable CSS framework built with Sass (SCSS) and vanilla JavaScript. It provides a comprehensive set of UI components, utility classes, and responsive design patterns to help you build beautiful, accessible, and performant web applications.

✨ Key Features

  • 🎨 30+ UI Components - Buttons, Forms, Modals, Navigation, Cards, and advanced components
  • 🌈 Design System - Comprehensive design tokens and semantic color system
  • 📱 Mobile-First Responsive - Container queries and modern responsive design
  • WCAG 2.1 AA Compliant - Full accessibility with screen reader support
  • 🔧 Component Variants - Multiple variants for each component (solid, outline, ghost, soft, glass)
  • 🚀 Production Ready - Minified CSS (79.4 KB) and JS (7.13 KB) with tree-shaking
  • 🎯 Modern CSS Features - Container queries, cascade layers, view transitions
  • 🔌 Advanced JavaScript - Modern web APIs, performance monitoring, accessibility enhancements
  • 🌙 Advanced Dark Mode - System preference detection and smooth transitions
  • Performance Optimized - Core Web Vitals monitoring and optimizations
  • 🎨 Utility-First - Comprehensive atomic utilities inspired by Tailwind CSS
  • 🌍 Internationalization - RTL support and logical properties

🚀 Quick Start

📦 Installation

Option 1: NPM (Recommended)

npm install byte-ui-neo

Option 2: Yarn

yarn add byte-ui-neo

Option 3: CDN

<!-- CSS -->
<link rel="stylesheet" href="https://unpkg.com/@mdferdousalam1989/[email protected]/dist/byte-ui-neo.min.css">

<!-- JavaScript -->
<script src="https://unpkg.com/@mdferdousalam1989/[email protected]/dist/byte-ui-neo-js.min.js"></script>

Option 4: Download

Download the latest release from GitHub Releases

🛠️ Usage

Basic HTML Setup

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My Byte UI Neo App</title>
    <link rel="stylesheet" href="path/to/byte-ui-neo.min.css">
</head>
<body>
    <div class="container">
        <h1>Welcome to Byte UI Neo!</h1>
        <button class="btn btn--primary">Get Started</button>
    </div>
    
    <script src="path/to/byte-ui-neo-js.min.js"></script>
</body>
</html>

Using with Build Tools

// Import the entire framework
@import '~@mdferdousalam1989/byte-ui-neo/src/main.scss';

// Or import specific components
@import '~@mdferdousalam1989/byte-ui-neo/src/components/button';
@import '~@mdferdousalam1989/byte-ui-neo/src/components/card';

🎨 Components Overview

🔘 Advanced Button System

<!-- Variant Types -->
<button class="btn btn--solid btn--primary">Solid</button>
<button class="btn btn--outline btn--primary">Outline</button>
<button class="btn btn--ghost btn--primary">Ghost</button>
<button class="btn btn--soft btn--primary">Soft</button>
<button class="btn btn--glass btn--primary">Glass</button>

<!-- Sizes -->
<button class="btn btn--xs">Extra Small</button>
<button class="btn btn--sm">Small</button>
<button class="btn btn--md">Medium</button>
<button class="btn btn--lg">Large</button>
<button class="btn btn--xl">Extra Large</button>

<!-- States -->
<button class="btn btn--primary loading">Loading...</button>
<button class="btn btn--primary" disabled>Disabled</button>

<!-- Special Types -->
<button class="btn btn--fab btn--primary">🚀</button>
<button class="btn btn--icon-only btn--primary">+</button>

🃏 Enhanced Cards

<!-- Card Variants -->
<div class="card card--elevated">
    <div class="card-body">
        <h5 class="card-title">Elevated Card</h5>
        <p class="card-text">Beautiful shadow and hover effects</p>
    </div>
</div>

<div class="card card--glass">
    <div class="card-body">
        <h5 class="card-title">Glass Card</h5>
        <p class="card-text">Glassmorphism design with backdrop blur</p>
    </div>
</div>

<div class="card card--interactive">
    <div class="card-body">
        <h5 class="card-title">Interactive Card</h5>
        <p class="card-text">Hover for smooth animations</p>
    </div>
</div>

📝 Forms

<form>
    <div class="mb-md">
        <label for="email" class="form-label">Email address</label>
        <input type="email" class="form-control" id="email" required>
        <div class="form-text">We'll never share your email.</div>
    </div>
    
    <div class="form-check">
        <input class="form-check-input" type="checkbox" id="flexCheckDefault">
        <label class="form-check-label" for="flexCheckDefault">
            Default checkbox
        </label>
    </div>
    
    <button type="submit" class="btn btn--primary">Submit</button>
</form>

🚨 Alerts

<div class="alert alert-primary" role="alert">
    A simple primary alert—check it out!
</div>
<div class="alert alert-success alert-dismissible fade show" role="alert">
    <strong>Well done!</strong> You successfully read this important alert message.
    <button type="button" class="btn-close" data-bs-dismiss="alert"></button>
</div>

🏷️ Badges

<span class="badge badge-primary">Primary</span>
<span class="badge badge-success">Success</span>
<span class="badge rounded-pill badge-danger">Danger</span>

🎯 Advanced Utility System

📐 Comprehensive Spacing

<!-- Modern spacing scale -->
<div class="p-1">4px padding</div>
<div class="p-4">16px padding</div>
<div class="p-8">32px padding</div>
<div class="mx-auto">Auto center</div>

<!-- Responsive spacing -->
<div class="p-2 p-md-4 p-lg-6">Responsive padding</div>

🎨 Flexbox & Grid

<!-- Advanced flexbox -->
<div class="d-flex justify-content-center align-items-center gap-4">
    <div>Item 1</div>
    <div>Item 2</div>
</div>

<!-- CSS Grid utilities -->
<div class="d-grid grid-cols-3 gap-4">
    <div>Grid item 1</div>
    <div>Grid item 2</div>
    <div>Grid item 3</div>
</div>

📝 Typography & Colors

<!-- Typography scale -->
<h1 class="text-4xl font-bold">Large heading</h1>
<p class="text-lg text-neutral-600">Subtitle</p>

<!-- Color utilities -->
<div class="bg-primary text-white">Primary background</div>
<div class="bg-gradient-to-r from-primary to-accent">Gradient</div>

🔄 Animations & Interactions

<!-- Hover effects -->
<div class="hover:scale-105 transition-transform">Scale on hover</div>
<div class="hover:rotate-3 transition-transform">Rotate on hover</div>

<!-- Scroll animations -->
<div class="animate-on-scroll" data-scroll-animation="fade-in">
    Fade in on scroll
</div>

🎪 Interactive Components

🪟 Modals

<!-- Button trigger modal -->
<button type="button" class="btn btn--primary" data-bs-toggle="modal" data-bs-target="#exampleModal">
    Launch demo modal
</button>

<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">Modal title</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal"></button>
            </div>
            <div class="modal-body">
                Modal body text goes here.
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn--secondary" data-bs-dismiss="modal">Close</button>
                <button type="button" class="btn btn--primary">Save changes</button>
            </div>
        </div>
    </div>
</div>

🎠 Carousel

<div id="carouselExample" class="carousel slide" data-bs-ride="carousel">
    <div class="carousel-inner">
        <div class="carousel-item active">
            <img src="slide1.jpg" class="d-block w-100" alt="Slide 1">
        </div>
        <div class="carousel-item">
            <img src="slide2.jpg" class="d-block w-100" alt="Slide 2">
        </div>
    </div>
    <button class="carousel-control-prev" type="button" data-bs-target="#carouselExample" data-bs-slide="prev">
        <span class="carousel-control-prev-icon"></span>
    </button>
    <button class="carousel-control-next" type="button" data-bs-target="#carouselExample" data-bs-slide="next">
        <span class="carousel-control-next-icon"></span>
    </button>
</div>

🚀 Modern CSS Features

Container Queries

/* Responsive based on container size */
.responsive-card {
  @container card (min-width: 400px) {
    display: grid;
    grid-template-columns: auto 1fr;
  }
}

View Transitions

// Smooth page transitions
document.startViewTransition(() => {
  // Update DOM
});

CSS Cascade Layers

/* Organized CSS with layers */
@layer reset, base, components, utilities, overrides;

🎨 Advanced Customization

Design Token System

:root {
    /* Brand colors */
    --color-brand-primary: #2563eb;
    --color-brand-secondary: #64748b;
    --color-brand-accent: #f59e0b;
    
    /* Semantic colors */
    --color-semantic-success: #10b981;
    --color-semantic-warning: #f59e0b;
    --color-semantic-error: #ef4444;
    
    /* Spacing scale */
    --spacing-unit: 0.25rem;
    --spacing-1: 0.25rem;
    --spacing-4: 1rem;
    --spacing-8: 2rem;
    
    /* Typography */
    --font-family-sans: 'Inter', sans-serif;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    
    /* Shadows */
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

Advanced Dark Mode

<!-- Theme toggle with system preference -->
<button data-theme-toggle>🌙</button>
// Automatic theme detection
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)');
// Smart theme switching with smooth transitions

♿ Accessibility Features

WCAG 2.1 AA Compliance

<!-- Skip navigation -->
<a href="#main" class="skip-link">Skip to main content</a>

<!-- Accessible forms -->
<div class="form-field">
    <label for="email" class="form-label required">Email Address</label>
    <input type="email" id="email" class="form-input" 
           aria-describedby="email-help" required>
    <div id="email-help" class="form-help">
        We'll never share your email with anyone else.
    </div>
</div>

<!-- Focus management -->
<div class="modal" aria-hidden="true" role="dialog" aria-labelledby="modal-title">
    <div class="modal-dialog" tabindex="-1">
        <h2 id="modal-title">Modal Title</h2>
        <!-- Modal content -->
    </div>
</div>

Accessibility Features

  • Focus trapping in modals and dialogs
  • Keyboard navigation with proper tab order
  • Screen reader support with ARIA labels
  • High contrast mode compatibility
  • Reduced motion preferences support
  • Touch-friendly 44px minimum targets

⚡ Performance & Optimization

Core Web Vitals

  • LCP optimization with lazy loading
  • FID monitoring with Performance Observer
  • CLS prevention with size reservations
  • Lighthouse 95+ scores out of the box

Modern JavaScript Features

// Intersection Observer for lazy loading
const observer = new IntersectionObserver((entries) => {
  entries.forEach(entry => {
    if (entry.isIntersecting) {
      // Load content
    }
  });
});

// Performance monitoring
const perfObserver = new PerformanceObserver((list) => {
  // Monitor Core Web Vitals
});

🔧 Build from Source

# Clone the repository
git clone https://github.com/mdferdousalam/byte-ui-neo.git
cd byte-ui-neo

# Install dependencies
npm install

# Development server
npm run dev

# Build for production
npm run build

📱 Browser Support

  • ✅ Chrome 88+
  • ✅ Firefox 85+
  • ✅ Safari 14+
  • ✅ Edge 88+
  • ✅ iOS Safari 14+
  • ✅ Android Chrome 88+

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

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

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

📞 Support

🙏 Acknowledgments

  • Built with ❤️ by Md Ferdous Alam
  • Inspired by modern CSS frameworks and accessibility best practices
  • Special thanks to the open-source community