npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@icarys/form-designer

v1.1.6

Published

A powerful Vue 3 form designer component library for building dynamic forms

Downloads

1,778

Readme

Icarys Form Designer

一个强大的 Vue 3 表单设计器组件库,用于构建动态表单。

安装

npm install @icarys/form-designer

注意:安装此包时会自动安装所有必需的依赖,包括 Vue 3、Element Plus、CodeMirror 等。

依赖说明

安装 @icarys/form-designer 时会自动安装所有必需依赖。大部分依赖会被设为外部依赖(不打包),但以下依赖由于兼容性原因会被打包进组件库:

  • codemirror: 版本兼容性要求严格,避免使用项目版本冲突

其他所有依赖都会作为外部依赖自动安装,确保组件库轻量化且版本统一。

核心依赖

  • vue: ^3.0.0 - Vue 3 框架
  • element-plus: ^2.0.0 - Element Plus UI 组件库
  • vant: ^4.0.0 - Vant UI 组件库
  • codemirror: ^5.65.0 - 代码编辑器(已打包)

功能依赖

  • vuedraggable: 4.1.0 - 拖拽功能
  • dayjs: ^1.11.13 - 日期处理
  • sortablejs: ^1.15.6 - 排序功能
  • jsbarcode: ^3.11.6 - 条形码生成
  • signature_pad: ^5.0.4 - 手写签名
  • marked: ^15.0.9 - Markdown 解析
  • qr-code-styling: ^1.9.1 - 二维码生成

FormCreate 相关

  • @form-create/core: ^3.2.32 - 核心库
  • @form-create/element-ui: ^3.2.32 - Element UI 集成
  • @form-create/utils: ^3.2.31 - 工具函数
  • @form-create/vant: ^3.2.32 - Vant UI 集成
  • vant: ^4.0.0 - Vant UI 组件库
  • 及其相关组件

基础用法

全局注册

import { createApp } from 'vue'
import IcarysFormDesigner from '@icarys/form-designer'
import '@icarys/form-designer/dist/style.css'

const app = createApp(App)
app.use(IcarysFormDesigner)
app.mount('#app')

组件使用

<template>
  <div>
    <FcDesigner v-model="formData" />
  </div>
</template>

<script setup>
import { ref } from 'vue'
import FcDesigner from '@icarys/form-designer'

const formData = ref([])
</script>

API

FcDesigner 组件

表单设计器的主要组件。

Props

| 参数 | 说明 | 类型 | 默认值 | |------|------|------|-------| | v-model | 表单配置数据 | Array | [] | | options | 表单配置选项 | Object | {} |

Events

| 事件名 | 说明 | 回调参数 | |--------|------|----------| | change | 表单配置改变时触发 | (data) => void |

开发

# 安装依赖
npm install

# 启动开发服务器
npm run dev

# 构建生产版本
npm run build

# 预览构建结果
npm run preview

许可证

ISC License

作者

FormCreate Team