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

lc-vue3

v0.1.2

Published

Configurable low code designer and renderer based on Vue 3

Readme

English / 简体中文

Low Code Vue

A configurable low-code form designer and renderer based on Vue 3.

Documentation npm version License Ask DeepWiki

Features

  • 🚀 Vue 3 Support: Developed using Vue 3 Composition API.
  • 🎨 Designer & Renderer Decoupling: Provides LcDesigner for visual design and LcRenderer for dynamic rendering.
  • 📦 Component-based Architecture: Supports custom component library extensions, with existing support for Element Plus (via lc-ep).
  • 📝 Flexible Schema: Uses JSON to define form structures, making it easy to store and transmit.

Installation

npm install lc-vue3
# Or using yarn / pnpm
pnpm add lc-vue3

Note: This library typically needs to be used with vue (>=3.0.0) and a UI component library (such as lc-ep).

Quick Start

After installing the core library lc-vue3 and the component library lc-ep, you can import the designer and renderer components in your Vue 3 project:

npm install lc-vue3 lc-ep element-plus

Import and use the designer and renderer in your Vue 3 project:

<template>
  <div class="app">
    <!-- Designer Mode -->
    <LcDesigner
      v-if="mode === 'designer'"
      v-model="schema"
      :components="components"
    />

    <!-- Preview/Renderer Mode -->
    <LcRenderer
      v-else
      :schema="schema"
      :components="components"
      v-model="formData"
    />
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { LcDesigner, LcRenderer, layoutComponents } from 'lc-vue3'
import componentList from 'lc-ep'
import 'lc-vue3/style.css'
import 'lc-ep/style.css'

// Combine built-in layout components and Element Plus component list
const components = [
  {
    group: 'Layout',
    components: layoutComponents 
  },
  ...componentList
]

const mode = ref<'designer' | 'preview'>('designer')
const schema = ref({ widgets: [] })
const formData = ref({})
</script>

Core Components

LcDesigner

A visual designer component used to generate form Schemas.

  • v-model: Binds the form Schema object.
  • components: List of injectable optional components.

[!NOTE] All components in the designer can use the built-in variable $model to access the current component's data model, facilitating data binding and event handling. You can also use $global to access globally shared data (if enabled). If a component is inside a slot, you can use $slot to access slot properties. The $getRefs(id) method can be used to get the component instance of a specified ID, facilitating cross-component communication.

LcRenderer

A form renderer component that renders forms and drives data based on a Schema.

  • schema: Form definition JSON.
  • components: Component library required for rendering.
  • v-model: Binds form business data.
  • v-model:global: Binds globally shared data (optional).

Project Structure

  • packages/element-plus: Form components encapsulated based on Element Plus.
  • src/designer: Core implementation of the designer.
  • src/renderer: Core implementation of the renderer.
  • src/layouts: Built-in layout components (Card, Grid, Tabs, etc.).