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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@julseb-lib/react

v1.1.8

Published

A comprehensive React component library built with TypeScript and Tailwind CSS, providing a complete set of UI components for modern web applications.

Readme

@julseb-lib/react

A comprehensive React component library built with TypeScript and Tailwind CSS, providing a complete set of UI components for modern web applications.

Features

🎨 Modern Design System - Built with Tailwind CSS v4 and custom design tokens

📱 Responsive Components - Mobile-first approach with flexible layouts

♿ Accessibility First - WCAG compliant components with proper ARIA support

🎯 TypeScript Native - Full type safety with comprehensive TypeScript definitions

🔧 Highly Customizable - Extensive prop interfaces for maximum flexibility

📦 Tree Shakeable - Import only what you need

🎭 Icon Integration - Built-in support for React Icons

🌗 Theme Support - Custom CSS variables and design tokens

Installation

# npm
npm install @julseb-lib/react

# yarn
yarn add @julseb-lib/react

# pnpm
pnpm install @julseb-lib/react

Type Exports

Access comprehensive TypeScript definitions:

import type { 
  ILibButton, 
  ILibText, 
  LibAllColors,
  LibSpacers 
} from '@julseb-lib/react/types'

Component-specific prop types:

import type { 
  ILibButton,
  ILibInput,
  ILibModal 
} from '@julseb-lib/react/component-props'

Styling & Customization

CSS Variables

The library uses CSS custom properties for theming:

:root {
  --color-primary-500: #3b82f6;
  --color-secondary-500: #06b6d4;
  --spacer-xs: 8px;
  --spacer-sm: 16px;
  --radius-sm: 4px;
  --radius-md: 8px;
}

Design Tokens

Access design tokens programmatically:

import { COLORS, SPACERS, RADIUS } from '@julseb-lib/react'

// Use in components
<div style={{ color: COLORS.PRIMARY_500 }}>
  Custom styled content
</div>

Tailwind Classes

All components use Tailwind CSS classes that can be extended:

<Button className="hover:scale-105 transition-transform">
  Custom Button
</Button>

Advanced Usage

Form Handling

import { Input, Button, Flexbox } from '@julseb-lib/react'

function ContactForm() {
  return (
    <form>
      <Flexbox direction="column" gap="md">
        <Input 
          label="Email"
          type="email"
          required
          validation="Please enter a valid email"
        />
        <Input 
          label="Message"
          element="textarea"
          rows={4}
        />
        <Button type="submit" variant="primary">
          Send Message
        </Button>
      </Flexbox>
    </form>
  )
}

Modal with Form

import { Modal, Button, Text } from '@julseb-lib/react'
import { useState } from 'react'

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

  return (
    <>
      <Button onClick={() => setIsOpen(true)}>
        Open Modal
      </Button>
      
      <Modal 
        isOpen={isOpen} 
        onClose={() => setIsOpen(false)}
        title="Contact Form"
      >
        <Text>Modal content goes here</Text>
      </Modal>
    </>
  )
}

Browser Support

Chrome (latest)

Firefox (latest)

Safari (latest)

Edge (latest)

Contributing

Contributions are welcome! Please read our contributing guidelines before submitting PRs.

Development

# Install dependencies
yarn install

# Start development server
yarn dev

# Run type checking
yarn check-errors

# Build library
yarn build

License

MIT © Julien Sebag

Links

Documentation

GitHub Repository

NPM Package