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 🙏

© 2024 – Pkg Stats / Ryan Hefner

ovh-ui-kit

v2.42.8

Published

A LESS stylekit for the OVH brand.

Downloads

1,010

Readme

OVH UI Kit (Less)

OVH component

A css toolkit for the OVH brand.

NPM

Project status stable Maintenance Chat on gitter

Installation

Dependencies

These dependency will be installed automatically:

Install with npm

npm install ovh-ui-kit

Install with yarn

yarn add ovh-ui-kit

Install with bower (deprecated)

bower install --save ovh-ui-kit

Usage

Integration

Use in HTML file

    ...
  <link rel="stylesheet" href="path/to/ovh-ui-kit/dist/oui.css">
    ...

Use with grunt and grunt-contrib-less

@import "path/to/ovh-ui-kit/packages/oui/stylekit";

// or you can import every component a-la-carte:

@import "path/to/ovh-ui-kit/packages/oui-button/button";
@import "path/to/ovh-ui-kit/packages/oui-radio/radio";
@import "path/to/ovh-ui-kit/packages/oui-formfield/formfield";

Use with webpack and less-loader

Webpack provide the ~ prefix for package imports:

@import "~ovh-ui-kit/packages/oui/stylekit.less";

// or a-la-carte:

@import "~ovh-ui-kit/packages/oui-button/button.less";
@import "~ovh-ui-kit/packages/oui-radio/radio.less";
@import "~ovh-ui-kit/packages/oui-formfield/formfield.less";

Use with bootstrap 3

For those who want to use ovh-ui-kit with bootstrap on the same project you need change the rem-base to 10px otherwise components proportions will not be respected.

@import '~bootstrap/less/bootstrap';

// Sets rem-base to 10px because bootstrap sets font-size: 10px on the html element.
@rem-base: rem-base(10px);

@import "~ovh-ui-kit/packages/oui/stylekit.less";

Develop

Run in development mode

  1. Clone and install ovh-ui-kit
git clone https://github.com/ovh-ux/ovh-ui-kit.git
cd ovh-ui-kit
yarn install
yarn link
  1. Run ovh-ui-kit with ovh-ui-kit-documentation
git clone https://github.com/ovh-ux/ovh-ui-kit-documentation.git
cd ovh-ui-kit-documentation
yarn install
yarn link ovh-ui-kit
yarn start

Hot reload

Once you have yarn start-ed the project, you can edit anything with an automatic browser refresh as a result.

Contributing

You've developed a new cool feature? Fixed an annoying bug? We'd be happy to hear from you!

see CONTRIBUTING

And read this quick start.

Related links

Documentation

Documentation is available from the packages/ folder, every package is self-documented throught a README.md file.

License

See https://github.com/ovh-ux/ovh-ui-kit/blob/master/LICENSE