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

@tuel/ui

v0.2.0

Published

UI components and interactive elements for TUEL

Readme

@tuel/ui

Pre-built animated UI components for React. Beautiful, accessible, and ready to use.

npm version TypeScript License: MIT

Features

  • 🎨 Pre-built Components - Ready-to-use animated UI elements
  • 🚀 High Performance - Optimized animations with GSAP and Framer Motion
  • Accessible - WCAG compliant with keyboard navigation
  • 📱 Responsive - Mobile-first design
  • 🎭 Customizable - Flexible styling and configuration
  • 🌳 Tree-shakeable - Import only what you need

Installation

pnpm add @tuel/ui

# Peer dependencies
pnpm add react react-dom

Components

AnimatedMenu

Animated navigation menu with smooth transitions.

import { AnimatedMenu } from '@tuel/ui';

const items = [
  { label: 'Home', href: '/' },
  { label: 'About', href: '/about' },
  { label: 'Contact', href: '/contact' },
];

function Navigation() {
  return (
    <AnimatedMenu
      items={items}
      variant="slide"
      animation="fadeIn"
    />
  );
}

Carousel

Smooth sliding carousel component.

import { Carousel } from '@tuel/ui';

const slides = [
  <div key="1">Slide 1</div>,
  <div key="2">Slide 2</div>,
  <div key="3">Slide 3</div>,
];

function ImageCarousel() {
  return (
    <Carousel
      slides={slides}
      autoplay={true}
      interval={5000}
    />
  );
}

ImageGallery

Responsive image gallery with lightbox.

import { ImageGallery } from '@tuel/ui';

const images = [
  { src: '/img1.jpg', alt: 'Image 1' },
  { src: '/img2.jpg', alt: 'Image 2' },
];

function Gallery() {
  return (
    <ImageGallery
      images={images}
      columns={3}
      gap={16}
    />
  );
}

StickyCards

Cards that stick during scroll.

import { StickyCards } from '@tuel/ui';

const cards = [
  { title: 'Card 1', content: 'Content 1' },
  { title: 'Card 2', content: 'Content 2' },
];

function CardStack() {
  return (
    <StickyCards
      cards={cards}
      gap={20}
      stickyOffset={100}
    />
  );
}

AnimatedButton

Button with built-in hover and tap animations.

import { AnimatedButton } from '@tuel/ui';

function CTA() {
  return (
    <AnimatedButton
      variant="primary"
      animation="scale"
      onClick={() => console.log('Clicked')}
    >
      Get Started
    </AnimatedButton>
  );
}

Modal

Animated modal with backdrop.

import { Modal } from '@tuel/ui';
import { useState } from 'react';

function ModalExample() {
  const [isOpen, setIsOpen] = useState(false);

  return (
    <>
      <button onClick={() => setIsOpen(true)}>Open Modal</button>
      <Modal
        isOpen={isOpen}
        onClose={() => setIsOpen(false)}
        animation="fadeIn"
      >
        <h2>Modal Content</h2>
        <p>This is a modal</p>
      </Modal>
    </>
  );
}

Usage Examples

Hero Section

import { AnimatedText, AnimatedButton } from '@tuel/ui';

function Hero() {
  return (
    <section className="hero">
      <AnimatedText
        text="Welcome to TUEL"
        animation="fadeIn"
        delay={0.2}
      />
      <AnimatedButton
        variant="primary"
        animation="bounce"
      >
        Get Started
      </AnimatedButton>
    </section>
  );
}

Navigation Menu

import { AnimatedMenu } from '@tuel/ui';

function Header() {
  const menuItems = [
    { label: 'Home', href: '/' },
    { label: 'Features', href: '/features' },
    { label: 'Pricing', href: '/pricing' },
    { label: 'Contact', href: '/contact' },
  ];

  return (
    <header>
      <AnimatedMenu
        items={menuItems}
        variant="fade"
        orientation="horizontal"
      />
    </header>
  );
}

Card Grid

import { StickyCards } from '@tuel/ui';

function Features() {
  const features = [
    {
      title: 'Fast',
      content: 'Optimized performance',
      icon: '⚡',
    },
    {
      title: 'Beautiful',
      content: 'Stunning animations',
      icon: '✨',
    },
    {
      title: 'Accessible',
      content: 'WCAG compliant',
      icon: '♿',
    },
  ];

  return (
    <StickyCards
      cards={features}
      columns={3}
      gap={24}
    />
  );
}

Image Gallery with Lightbox

import { ImageGallery } from '@tuel/ui';

function PhotoGallery() {
  const photos = [
    { src: '/photo1.jpg', alt: 'Photo 1', title: 'Sunset' },
    { src: '/photo2.jpg', alt: 'Photo 2', title: 'Mountain' },
    { src: '/photo3.jpg', alt: 'Photo 3', title: 'Ocean' },
  ];

  return (
    <ImageGallery
      images={photos}
      columns={{ mobile: 1, tablet: 2, desktop: 3 }}
      gap={20}
      lightbox={true}
    />
  );
}

Styling

All components accept a className prop for custom styling:

<AnimatedButton className="custom-button">
  Click me
</AnimatedButton>

Accessibility

  • Keyboard navigation (Tab, Enter, Esc)
  • ARIA labels and roles
  • Focus management
  • Screen reader support
  • Reduced motion support

TypeScript Support

Full TypeScript support:

import type {
  AnimatedMenuProps,
  CarouselProps,
  ImageGalleryProps,
} from '@tuel/ui';

Browser Support

  • Chrome/Edge 90+
  • Firefox 88+
  • Safari 14+
  • Mobile browsers

Contributing

See CONTRIBUTING.md for development setup and guidelines.

License

MIT © Omer Akben

Links