AimonaStudio / kuen

Bread's Frontend Framework for Vue.js 2.x

Home Page:https://aimonastudio.github.io/kuen/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] Component

himself65 opened this issue · comments

Avatar

support display img or only characters

example:

<b-avatar color="blue"
  :size="100">
  <img src="...xxx">
</b-avatar>

<b-avatar color="red" :size="64"> LG </b-avatar>

Button

b-button has any common usege like router, type ...

<b-button-group direction="row">
  <b-button color="green" type="info" :router="xxx"  round>Home</b-button>
  <b-button color="red" type="info" :router="xxx" round>HOT</b-button>
  <b-button color="blue" type="info" :router="xxx" round>Me</b-button>
  <b-button color="gray" type="info" :router="xxx" round>About</b-button>
</b-button-group>

<b-button disable="false">Click Me</b-button>
<b-button block>Wide button</b-button>

Card

a basic display container

Progress

two styles of progress, circle and line

List

a basic display container which is used to display information

Pagination

it's used to separate long sets of data

Bottom Navigation

default to display on mobile, it's element has icon, text

Carousel

for displaying huge images, like on luogu.org

Block

example:

<template>
  <div>
    <h1>Enjoy Coding Life!</h1>
    <div class="playground">
      <b-block
        :color="'green'"
        status="AC"
        disabled>
        1000ms/128kb
      </b-block>
      <b-block
        :color="'red'"
        status="WA"
        disabled>
        1000ms/128kb
      </b-block>
      <b-block
        :color="'bluelight'"
        status="WA"
        disabled>
        1000ms/128kb
      </b-block>
      <b-block
        :color="'yellow'"
        status="WA"
        disabled>
        1000ms/128kb
      </b-block>
      <b-block
        :color="'orange'"
        status="WA"
        disabled>
        1000ms/128kb
      </b-block>
      <b-block
        :color="'brown'"
        status="WA"
        disabled>
        1000ms/128kb
      </b-block>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Playground'
}
</script>

<style lang="stylus" scoped>
  .playground {
    display: flex
    flex-direction: row
  }
</style>

Hover

Change style when mouse hover on it, it can use on any components

this issue will not update