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

@black-kro/ui

v0.1.49

Published

UI Library for Vue 3

Downloads

46

Readme

Official Documentation & Demos

Install Kro UI

To install Kro UI you will either need to have NPM or Yarn installed.

Install via NPM

npm i --save @black-kro/ui

Install via Yarn

yarn add @black-kro/ui

Using Kro UI

import { createApp } from 'vue';
import App from 'App.vue';

// Import Kro UI Library
import { KroUIPlugin } from '@black-kro/ui';

// Base Styles and theme for Kro UI
import '@black-kro/ui/dist/kro-ui.common.css';
import '@black-kro/ui/dist/themes/default.scss';

// Create New Vue App
createApp(App)
    .use(KroUIPlugin, {
        icons: {
            'menu': 'M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z',
        }
    })
    .mount('#app');

Contributing

Feel free to contirbue to the project. You can request new features by creating an issue or you can contribute your own features by creating a pull request. Before working on a feature it is a good idea to open an issue to ensure the feature fits the project.

Bug reports are also appericated. When reporting a bug try to provide some information that can be used to help determine the issue. Things like erros messages, package version, and relevent code would be good things to include.

Development Setup

You will need to install the latest version of Node.js before getting started.

After cloning the repo, run:

$ npm install

Commonly used NPM scripts.

# watch and auto re-build docs
$ npm run serve

# Build library for produciton
$ npm run build

# Build docs for production
$ npm run docs

Project Structure

  • build: Contains build scripts for the project and docs.
  • dist: Contains built files for distribution.
  • docs: Contains docs for the UI library.
  • src: Contains the source code for the UI components.
    • components: Contains folders which each represent a different component.
    • styles: Contains the base styles needed for the Kro UI library.

License

MIT

Copyright (c) 2020-present, Jacob Clevenger