Socket
Socket
Sign inDemoInstall

@black-kro/ui

Package Overview
Dependencies
35
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @black-kro/ui

UI Library for Vue 3


Version published
Maintainers
1
Install size
16.5 MB
Created

Readme

Source

npm version npm version

Getting Started

Kro UI is an MIT-licensed open source Vue UI library for building web applications.

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

Keywords

FAQs

Last updated on 23 Oct 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc