Coder Social home page Coder Social logo

vexip-ui / vexip-ui Goto Github PK

View Code? Open in Web Editor NEW
1.6K 10.0 140.0 22.04 MB

A Vue 3 UI library, highly customizability, full TypeScript, performance pretty good.

Home Page: https://www.vexipui.com

License: MIT License

JavaScript 0.15% HTML 0.05% Vue 28.07% TypeScript 59.12% SCSS 12.58% Shell 0.03%
typescript ui-components vitejs vue vue-components vexipui javascript config css html

vexip-ui's Introduction

Vexip UI

Vexip UI

Highly customizability, full TypeScript, performance pretty good

NPM version commits pre week

If you have created any awesome thing with Vexip UI and would like to showcase it on the official website, you can contact me. If you would like to contribute code, you are very welcome!

English | 中文 [含技术支持群]

Vexip (pronounced /ˈvesɪp/) UI provides a series of out-of-box components.

This library is written using composition API, and the components are designed and written in a traditional Vue way possible, with full TypeScript support.

Almost all default property values of each component can be easily customized through injected configurations, making it easy to achieve customization.

Meanwhile, the component code pays great attention to reducing the threshold of source code reading, and the code layout is as close as possible to the habits of daily business code, avoiding fancy and showy code.

Currently, there are 78 components, some of which may be familiar to you, and even better, while others may brighten your eyes.

Features

  • 📦 Out-of-box high quality Vue 3 components
  • 📐 Intuitive, minimalistic Api design
  • 🔧 Configurable default value of props, quickly complete global/local modifications
  • ⚡ Composition Api, good performance base
  • 🔨 With TypeScript, fully types
  • 💪 1100+ unit tests to provide good stability
  • 🎨 Support CSS variable, built-in dark theme
  • 🚩 Support i18n
  • 🛫 Provide resolver, support unplugin
  • 🚤 Support SSR
  • 🩹 Good a11n
  • 👀 Close to business code arrangement, low source code reading threshold

The design tokens are base on Open Color, and have some adjustments.

Install

It is recommended to use pnpm or yarn to install:

# use pnpm
pnpm add vexip-ui

# use yarn
yarn add vexip-ui

Documentation

Here you can view the online document.

Author is not good at English. If you have any advice to improve the English document, you can create an issue or a PR.

Help

Open a issue to request help.

If you take maybe some bugs, please use the Vexip UI Playground to provide a minimal reproduction.

Contributing

Welcome to join us! You can check out the Contributing Guide to learn how to get started.

Or you can sponsor us to help the project grow better!

WeChat:

WeChat payment

Alipay:

Alipay payment

Contributors

Thanks for all their contributions!

contributors

Environment

All components supported in modern browsers, I try to ensure the support of nearly two or three versions.

IE / Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
iOS Safari
iOS Safari
Opera
Opera
Electron
Electron
last 2 versions last 2 versions last 2 versions last 2 versions last 2 versions last 2 versions last 2 versions

License

All in MIT license.

vexip-ui's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vexip-ui's Issues

Tabs 组件需求建议

可将label作为导航页唯一索的属性用一个自定义属性来代替,这样可满足导航页的标题可以是文字(label)或者可以是符号(icon),解决了导航页标题仅为符号时点击无效的情况

The props of key config maybe better to concentrated on one object prop

This will be better to extend.

In the old case:

<Tree
  id-key="id"
  label-key="label"
  children-key="children"
  parent-key="parent"
></Tree>

When extend, it will add too much props.

In the new case:

<template>
  <Tree
    key-config="keyConfig "
  ></Tree>
</template>

<script setup>
const keyConfig = {
  id: 'id',
  label: 'label',
  children: 'children'
  parent: 'parent'
}
</script>

Good extensibility and reusability.

Wheel组件中WheelItem组件的宽度问题

组件宽度没有根据内容的长度变化而变化,导致遍历值大的时候前端展示内容挤压
类为vxp-wheel__list的ul标签的内边距写死,无法根据自身情况改变内边距的值

[Viewer] Add props to support custom zoom range

A bug occurs in component Viewer, the picture is flipped when scaling down, and if you continually to shrink it, the picture will become bigger instead.

BUG位置:在Viewer组件中缩放图片,会出现图片的翻转,当继续缩小,图片反而会变大。

通过直播知道了这个组件库,希望能够参与其中的一些开源工作,向作者大佬学习。

[Wheel] Refactor items to be provided via `options` prop

Current:

<template>
  <Wheel>
    <WheelItem>1<WheelItem>
    <WheelItem>2<WheelItem>
  </Wheel>
</template>

Refactored:

<template>
  <Wheel :options="[1, 2]">
    <template #default="{ option }">
      {{ option.value }}
    </template>
  </Wheel>
</template>

[bug]: docs dark mode icon not right

发现一个小bug,文档中切换白天模式下的 Switcher icon 不正确,本来想提pr修复的,但是我 fork 后,运行不起来

步骤:

pnpm i

Then

pnpm run serve:docs

报错截图:
image

请问我少了哪个步骤吗?

Tabel组件colum宽度问题

当每一列的宽度值较小时,若最后一列设置fixed属性,该列也会出现在非固定列中的最后一列
image

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.