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

@datatr-ux/uxlib

v1.0.0-alpha-35

Published

`@datatr-ux/uxlib` is a library of prebuilt UI components themed using the [OVHcloud Design System](https://github.com/ovh/design-system). It leverages [shadcn components](https://ui.shadcn.com/docs) to provide a flexible and modern UI toolkit tailored fo

Readme

@datatr-ux/uxlib

@datatr-ux/uxlib is a library of prebuilt UI components themed using the OVHcloud Design System. It leverages shadcn components to provide a flexible and modern UI toolkit tailored for OVHcloud applications.

Features

  • Themed Components: All components follow the OVHcloud design guidelines, ensuring consistency across applications.
  • Based on shadcn UI: Extensible and well-documented components inspired by shadcn.
  • Customizable: Modify and extend components to fit your specific needs.
  • Storybook Integration: Explore components interactively through our hosted Storybook.

Documentation

Installation

To use this library in your project, install it via npm:

npm install @datatr-ux/ods-tailwind-config @datatr-ux/uxlib

Or with Yarn:

yarn add @datatr-ux/ods-tailwind-config @datatr-ux/uxlib

Add the odsPlugin to your tailwind.config.mjs file:

import odsPlugin from '@datatr-ux/ods-tailwind-config';

/** @type {import('tailwindcss').Config} */
module.exports = {
  content: [
    './src/**/*.{js,jsx,ts,tsx}',
    '../../../../node_modules/@datatr-ux/uxlib/**/*.{js,jsx,ts,tsx}',
  ],
  theme: {
    extend: { // Extend the theme if you need
      colors: {
        // Override colors for ODS17 theme
        'primary-50': '#f5feff',
        heading: '#4d5693',
      },
      borderRadius: {
        // Override radiuses for ODS17 theme
        sm: '0.25rem',
        DEFAULT: '0.25rem',
        md: '0.5rem',
        lg: '0.5rem',
      },
    },
  },
  plugins: [odsPlugin],
};

Add the imports in your global css file:

@import '@datatr-ux/ods-tailwind-config/style.css';
@import '@datatr-ux/uxlib/style.css';
@tailwind base;
@tailwind components;
@tailwind utilities;

/* 
* Override headers colors and heights
* to match ODS17
*/
h1, h2, h3, h4, h5 {
  @apply text-heading;
}
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.25rem;
  line-height: 2.8125rem;
}
h3 {
  font-size: 2rem;
}
h4 {
  line-height: 1.75rem;
}
h5 {
  font-size: 1rem;
}

And import your css file in you main.tsx file:

import React from 'react';
import ReactDOM from 'react-dom/client';
import {
  ShellProvider,
  initShellContext,
} from '@ovh-ux/manager-react-shell-client';
import './global.css';

ReactDOM.createRoot(document.getElementById('root')).render(
    <React.StrictMode>
      <ShellProvider client={context}>
        <LoadingIndicatorProvider>
          <App />
        </LoadingIndicatorProvider>
      </ShellProvider>
    </React.StrictMode>,
  );

Usage

Import and use the components in your React application:

import { Button } from "@datatr-ux/uxlib";

export default function App() {
  return <Button>Click me</Button>;
}

Customization

Components are designed to be easily customizable. You can apply your own styles or extend the default ones to match your specific needs.

Development

To contribute to the library or explore the components locally:

  1. Clone the repository:

    git clone https://github.com/datatr-ux/uxlib.git
    cd uxlib
  2. Install dependencies:

    npm install
  3. Start the Storybook:

    npm run storybook
  4. Open Storybook in your browser: http://localhost:6006

Contributing

Contributions are welcome! Please submit issues or pull requests to help improve the library.

Before submitting a pull request:

  • Follow the code style guidelines.
  • Ensure all components are documented in Storybook.
  • Verify compatibility with the OVHcloud design system.

License

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


For any questions or support, please contact the maintainers through the GitHub repository.