Giter Site home page Giter Site logo

linson's Introduction

Linson

Linson is a Vue 3 Component Library. translates from the Chinese character "林森", meaning Linson provides users with the most basic materials to quickly and seamlessly assemble a standardized User Interface

English | 简体中文

Action Issues License Package Coverage Status

Tag Pull Request Release Languages Top Code Size Last Commit

Features

  • Linson UI is written in TypeScript, providing powerful type support for silky-smooth coding.
  • Components support treeshaking and can be referenced on-demand without third-party plugins.
  • Dark mode is supported, and the theme is freely customizable, following CSS standards and changing CSS variables to achieve a hundred different themes.
  • Support both template mode and rendering function mode, and do optimization for rendering function mode, more suitable for declarative programming.

Design Resources

Usage

install

npm install @silkjs/linson

import

// style
import "@silkjs/linson/dist/linson.css";

// global use
import { Linson } from "@silkjs/linson";
app.use(Linson);

// or
import { Button } from "@silkjs/linson";
app.use(Button);

template mode

<template>
  <l-row :gutter="[16, 16]">
    <l-col :span="6"><l-button theme="default">Default</l-button></l-col>
    <l-col :span="6"><l-button theme="primary">Primary</l-button></l-col>
    <l-col :span="6"><l-button theme="warning">Warning</l-button></l-col>
    <l-col :span="6"><l-button theme="error">Error</l-button></l-col>
    <l-col :span="6"><l-button theme="success">Success</l-button></l-col>
  </l-row>
</template>
<script lang="ts">
  import { defineComponent } from "vue";

  export default defineComponent({
    setup() {},
  });
</script>

render-function mode

import { defineComponent } from "vue";
import { Button, Row, Col } from "@silkjs/linson";

defineComponent({
  setup() {
    return () => (
      <Row gutter={[16, 16]}>
        <Col span={6}>
          <Button theme="default">Default</Button>
        </Col>
        <Col span={6}>
          <Button theme="primary">Primary</Button>
        </Col>
        <Col span={6}>
          <Button theme="warning">Warning</Button>
        </Col>
        <Col span={6}>
          <Button theme="error">Error</Button>
        </Col>
        <Col span={6}>
          <Button theme="success">Success</Button>
        </Col>
      </Row>
    );
  },
});

Widgets

Setting

  • ConfigProvider

General

  • Button
  • Divider
  • Dropdown
  • Icon

Entry

  • Cascader
  • Checkbox
  • DatePicker
  • Form
  • Input
  • InputNumber
  • Radio
  • Select
  • Switch
  • TimePicker
  • Upload

Layout

  • Grid
  • Space

Display

  • Card
  • Carousel
  • Skeleton
  • Table
  • Tag

Feedback

  • Alert
  • Dialog
  • Message
  • Popconfirm
  • Popover
  • Tooltip

Navigation

  • Breadcrumb
  • Menu
  • Pagination
  • Steps
  • Tabs

Progress

Detailed progress view here, The project is currently under construction and is not recommended for use in a production environment.

linson's People

Contributors

dasoncheng avatar

Stargazers

liukangjie avatar

Watchers

 avatar

Forkers

wodetiana-lkj

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.