@blink-the-ui/components
v0.0.1-alpha.22
Published
Blink UI 核心组件库,包含常用的 UI 组件。
Readme
@blink-the-ui/components
Blink UI 核心组件库,包含常用的 UI 组件。
安装
npm install @blink-the-ui/components使用
<template>
<Button @click="handleClick">点击我</Button>
<Input v-model="inputValue" placeholder="请输入内容" />
</template>
<script setup>
import { ref } from 'vue';
import { Button, Input } from '@blink-the-ui/components';
const inputValue = ref('');
const handleClick = () => {
console.log('输入的值:', inputValue.value);
};
</script>可用组件
Alert- 警告提示Avatar- 头像组件Button- 按钮组件Checkbox- 复选框Form- 表单组件Input- 输入框Label- 标签组件Progress- 进度条Switch- 开关组件Text- 文本组件Upload- 上传组件
