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

@khazarabdulayev/ex-ui

v0.1.17

Published

![Fork necə edilir - GIF](https://res.cloudinary.com/ddxf5xcj4/image/upload/v1773062832/Gemini_Generated_Image_r4vw3wr4vw3wr4vw_axvbgk.jpg)

Readme

Fork necə edilir - GIF

🚀 EX-UI

EX-UI is a customizable and high-performance UI component library built with React, TypeScript, and Vite. Storybook is integrated for component development, documentation, and visual testing.

npm version License: MIT

This template provides a minimal but powerful starting point with Fast Refresh in Vite and strict ESLint rules.


📦 Installation and Setup

Install the library in your project via npm:

npm i @khazarabdulayev/ex-ui

⚠️ WARNING - VERY IMPORTANT: For the components to render correctly and the styles to work, you MUST import the library's CSS file in your main entry file (e.g., main.tsx, index.tsx, or App.tsx)! Otherwise, the components will appear unstyled.

import "@khazarabdulayev/ex-ui/style.css";

📚 Component Usage

You can easily use the components included in the library within your project. Below are usage examples of some core components:

1️⃣ Button and Drawer Components

The Drawer component is used to create side panels that can slide in from 4 different directions (top, bottom, left, right) of the screen.

import { Button, Drawer } from "@khazarabdulayev/ex-ui";

export default function App() {
  return (
    <div className="flex gap-4 p-10">
      {/* Drawer opening from Top */}
      <Drawer
        position="top"
        content={
          <div className="p-5">
            <h2 className="text-xl font-bold">
              Hello! This is my Drawer Content.
            </h2>
            <p>I can build my desired design here.</p>
          </div>
        }
      >
        <Button>Open from Top</Button>
      </Drawer>

      {/* Drawer opening from Bottom */}
      <Drawer
        position="bottom"
        content={
          <div className="p-5 h-[50vh]">
            <h2 className="text-xl font-bold">Bottom Panel</h2>
            <p>Content goes here.</p>
          </div>
        }
      >
        <Button>Open from Bottom</Button>
      </Drawer>

      {/* Drawer opening from Left */}
      <Drawer
        position="left"
        content={
          <div className="p-5 h-full">
            <h2 className="text-xl font-bold">Left Menu</h2>
            <p>Navigation links can go here.</p>
          </div>
        }
      >
        <Button>Open from Left</Button>
      </Drawer>

      {/* Drawer opening from Right */}
      <Drawer
        position="right"
        content={
          <div className="p-5 h-full">
            <h2 className="text-xl font-bold">Right Panel</h2>
            <p>Profile or settings can be added here.</p>
          </div>
        }
      >
        <Button>Open from Right</Button>
      </Drawer>
    </div>
  );
}

2️⃣ ScrollComponent (Back to Top Button)

This component appears when the user scrolls down the page (after 500px) and smoothly scrolls the page back to the top when clicked.

import { ScrollComponent } from "@khazarabdulayev/ex-ui";

export default function App() {
  return (
    <div>
      {/* Your long page content will be here */}
      <div style={{ height: "2000px", padding: "20px" }}>Scroll down... 👇</div>

      {/* ScrollComponent will be placed in the bottom right or left corner of the screen */}
      <ScrollComponent position="right" textSize={24}>
        🔝 Top
      </ScrollComponent>
    </div>
  );
}

3️⃣ Table

import { Table, TableHeader, TableRow, TableHead } from "./Table/Table";

export default function App() {
  return (
    <>
      <Table>
        <TableHeader>
          <TableRow>
            <TableHead>İstifadəçi Adı</TableHead>
            <TableHead>Email</TableHead>
            <TableHead>Vəzifə</TableHead>
            <TableHead className="text-right">Əməliyyat</TableHead>
          </TableRow>
        </TableHeader>
        <TableBody>
          {usersData.map((user) => (
            <TableRow key={user.id}>
              <TableCell className="font-medium text-gray-900">
                {user.name}
              </TableCell>
              <TableCell>{user.email}</TableCell>
              <TableCell>{user.role}</TableCell>
              <TableCell className="text-right">
                <button className="text-sm font-medium text-blue-600 hover:text-blue-800 transition-colors">
                  Düzəliş et
                </button>
              </TableCell>
            </TableRow>
          ))}
        </TableBody>
      </Table>
    </>
  );
}

💻 Contributing

We believe in the power of the open-source community! You can find detailed instructions on how to set up the project locally, add new components, test, and open a Pull Request in the CONTRIBUTING.md file.

We gladly welcome all kinds of contributions! 🤝


📜 Main Scripts

Core commands for those who want to explore and develop the project locally:

| Command | Description | | :------------------ | :---------------------------------------------------------------------------------------------- | | npm run dev | Starts the Vite dev server. Used to see how your components look within a standard web app. | | npm run storybook | Starts the Storybook interface. (To view and document components in isolation). | | npm run build | Builds the library for production. | | npm run lint | Checks code quality. Finds errors using ESLint. |


⚙️ Technical Notes

  • React Compiler: Currently disabled in this template due to its impact on development and build performance. If needed, you can refer to the Official React Compiler Documentation.
  • ESLint and Type Safety: Strict ESLint and TypeScript rules are applied in this project to ensure code cleanliness and reliability.

📄 License

This project is licensed under the MIT license.