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

@clikvn/react-ui-library

v1.1.3-dev

Published

🚀 **@clikvn/react-ui-library** là một thư viện UI component cho React, được xây dựng bằng TypeScript và TailwindCSS. Hỗ trợ Storybook để kiểm thử component và có thể dễ dàng cài đặt qua npm/yarn.

Readme

@clikvn/react-ui-library

🚀 @clikvn/react-ui-library là một thư viện UI component cho React, được xây dựng bằng TypeScript và TailwindCSS. Hỗ trợ Storybook để kiểm thử component và có thể dễ dàng cài đặt qua npm/yarn.

📦 Xem trên npm: @clikvn/react-ui-library

✨ Đặc điểm nổi bật

  • ✅ Viết bằng TypeScript
  • 🎨 Hỗ trợ TailwindCSS
  • 📖 Storybook để xem trước component
  • 📦 Tích hợp TSUP để build gọn nhẹ
  • Hỗ trợ React từ phiên bản 16+

📦 Cài đặt

Bạn có thể cài đặt thư viện này bằng yarn hoặc npm:

Với Yarn:

yarn add @clikvn/react-ui-library

Với npm:

npm install @clikvn/react-ui-library

🚀 Sử dụng

Dưới đây là cách sử dụng SmallCard trong một dự án React:

import { SmallCard } from "@clikvn/react-ui-library";

const App = () => {
  return (
    <SmallCard
      imageSrc="https://cdn3.clik.vn/clikotrip/ci/media/MED_7Y9TXAZD74A3/4_UCLV6HFD74A3.jpg"
      title="Explore Hanoi"
      description="Discover Hanoi’s culture and history in a day."
      rating={4.8}
      reviewCount={2300}
      price="From $45 per person"
      isFavorite={false}
    />
  );
};

export default App;

📌 Props hỗ trợ:

  • imageSrc (string): URL của ảnh.
  • title (string): Tiêu đề của card.
  • description (string): Mô tả nội dung.
  • rating (number): Điểm đánh giá (0 - 5).
  • reviewCount (number): Số lượng đánh giá.
  • price (string): Giá hiển thị.
  • isFavorite (boolean): Trạng thái yêu thích.
  • showFavorite (boolean, optional): Hiển thị icon yêu thích.
  • onFavoriteClick (function, optional): Xử lý khi bấm vào icon yêu thích.
  • onClick (function, optional): Xử lý khi bấm vào card.

📜 Scripts

Trong package.json, bạn có thể sử dụng các script sau:

| Lệnh | Mô tả | | ---------------- | ----------------------------------------- | | yarn build | Build thư viện bằng TSUP | | yarn storybook | Chạy Storybook để xem trước component | | yarn deploy | Build và publish lên npm |


📖 Storybook

Để chạy Storybook và kiểm tra các component, dùng lệnh:

yarn storybook

Sau đó, truy cập: http://localhost:6006 để xem UI.


📄 License

MIT License - Bạn có thể tự do sử dụng và đóng góp.


🤝 Đóng góp

Nếu bạn muốn đóng góp vào dự án, vui lòng fork repository và tạo pull request. Mọi đóng góp đều được hoan nghênh! 😊