GithubHelp home page GithubHelp logo

scx567888 / scx-ui Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 150 KB

✨ Some front end UI kits for SCX

Home Page: https://scx.cool/scx-ui/

License: MIT License

HTML 0.24% Vue 36.37% JavaScript 49.72% CSS 13.67%
javascript scx vue

scx-ui's Introduction

scx-ui-logo

CI npm package code-size issues license

Vite dom-serializer htmlparser2 vue clipboard.js

English | 简体中文

Some front end UI kits for SCX

NPM

npm install scx-ui

Quick start

1. Install the vite plugin for ScxIcon .

import {scxIconPluginUseJS} from 'scx-ui/vite-plugin/index.js';

export default {
    base: './',
    plugins: [scxIconPluginUseJS( // or scxIconPluginUseHtml
        'your-svg-root' //your svg icon root, It can also be an array []
    )]
}

2. Install vue component for ScxIcon .

import {createApp} from 'vue';
import {ScxComponent} from 'scx-ui';
import App from './App.vue';
import 'scx-ui/style/default.css'; // Don't forget to import theme
import 'scx-ui/style/dark.css';
import 'scx-icon/register'; //if type = js you need import this virtual module

createApp(App)
    .use(ScxComponent)
    .mount('#app');

3. Use ScxIcon component .

<!-- You will see a smile face icon -->
<scx-icon icon="outlined-face-smile"/>

For more information, see docs

Stats

Alt

scx-ui's People

Contributors

scx567888 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.