New:Socket for Asana Is Now Available.Learn more
Sign In

@daflow-ui/ui-input

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@daflow-ui/ui-input

Input component for DaFlow UI

latest
npmnpm
Version
0.1.0
Version published
Maintainers
2
Created
Source

@daflow-ui/ui-input

Input component for DaFlow UI component library.

Installation

pnpm add @daflow-ui/ui-input

Usage

全局引入样式(在 main.ts 中):

import '@daflow-ui/ui-input/style.css';

在组件中使用:

<script setup lang="ts">
import { DfInput } from '@daflow-ui/ui-input';
</script>

<template>
  <DfInput v-model="value" placeholder="请输入内容" />
</template>

Props

Prop类型默认值说明
modelValuestring''v-model 绑定值
invalidbooleanfalse错误状态,影响边框颜色
disabledbooleanfalse禁用
size'sm' | 'md' | 'lg''md'尺寸

License

MIT

Keywords

vue

FAQs

Package last updated on 10 Mar 2026

Related posts