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

@efie-form/vue

v0.2.1

Published

Vue components for Efie Form

Readme

@efie-form/vue

Version License Downloads

Vue 3 components for building and rendering dynamic forms. Part of the Efie Form ecosystem.

⚠️ Preview Stage: This package is currently in preview and not recommended for production use. The API may change significantly before the stable release. Use at your own risk.

Features (Preview)

  • 🧩 Form Builder: Vue components for the visual form builder
  • 📝 Form Renderer: Render forms from JSON schemas
  • 🔌 Composition API: Built with Vue 3 Composition API
  • 🎯 TypeScript Support: Full TypeScript support with comprehensive types
  • 🎨 Themeable: Customizable styling with CSS variables
  • 🌐 Responsive: Mobile-first responsive design
  • 🔄 Reactive: Leverages Vue's reactivity system
  • 🧰 Rich Field Types: Support for all HTML5 input types and custom components

Planned Installation

# With npm
npm install @efie-form/vue

# With yarn
yarn add @efie-form/vue

# With pnpm
pnpm add @efie-form/vue

Planned API

Form Builder (Coming Soon)

<template>
  <FormBuilder
    v-model:schema="formSchema"
    @field-add="onFieldAdd"
    @field-remove="onFieldRemove"
    @schema-change="onSchemaChange"
  />
</template>

<script setup lang="ts">
import { ref } from 'vue';
import { FormBuilder, type FormSchema } from '@efie-form/vue';

const formSchema = ref<FormSchema>({
  fields: [],
  layout: { blocks: [] }
});

const onFieldAdd = (field) => {
  console.log('Field added:', field);
};

const onFieldRemove = (fieldId) => {
  console.log('Field removed:', fieldId);
};

const onSchemaChange = (schema) => {
  console.log('Schema changed:', schema);
};
</script>

Form Renderer (Coming Soon)

<template>
  <Form
    :schema="formSchema"
    v-model="formData"
    @submit="onSubmit"
    @validate="onValidate"
  />
</template>

<script setup lang="ts">
import { ref, reactive } from 'vue';
import { Form, type FormSchema } from '@efie-form/vue';

const formSchema = ref<FormSchema>({
  fields: [
    {
      id: 'name',
      type: 'text',
      label: 'Full Name',
      required: true,
      props: {
        placeholder: 'Enter your full name'
      }
    },
    {
      id: 'email',
      type: 'email',
      label: 'Email Address',
      required: true
    }
  ],
  layout: {
    blocks: [
      {
        id: 'block-1',
        rows: [
          {
            id: 'row-1',
            columns: [
              { id: 'col-1', fieldIds: ['name'] },
              { id: 'col-2', fieldIds: ['email'] }
            ]
          }
        ]
      }
    ]
  }
});

const formData = reactive({});

const onSubmit = (data) => {
  console.log('Form submitted:', data);
};

const onValidate = (errors) => {
  console.log('Validation errors:', errors);
};
</script>

Composables (Coming Soon)

<script setup lang="ts">
import { 
  useFormBuilder,
  useFormRenderer,
  useFormValidation,
  useFieldProps
} from '@efie-form/vue';

// Form builder composable
const {
  schema,
  addField,
  removeField,
  updateField,
  undo,
  redo,
  canUndo,
  canRedo
} = useFormBuilder();

// Form renderer composable
const {
  formData,
  errors,
  isValid,
  validate,
  submit,
  reset
} = useFormRenderer(schema);

// Field validation composable
const {
  validateField,
  getFieldError,
  clearFieldError
} = useFormValidation();

// Field props composable
const {
  getFieldProps,
  updateFieldProps
} = useFieldProps();
</script>

Vue 3 Features

This package will leverage Vue 3's modern features:

  • Composition API: All components built with the Composition API
  • Teleport: Modal dialogs and overlays use Vue's Teleport
  • Suspense: Async form loading with Suspense boundaries
  • Reactivity: Deep integration with Vue's reactivity system
  • TypeScript: Full TypeScript support with proper type inference

Compatibility

  • Vue 3.0+
  • TypeScript 4.5+
  • Modern browsers (Chrome 88+, Firefox 85+, Safari 14+, Edge 88+)

Development Status

This package is currently in development. Key milestones:

  • [x] Project setup and configuration
  • [ ] Core form rendering components
  • [ ] Form builder integration
  • [ ] Validation system
  • [ ] Documentation and examples
  • [ ] Beta release
  • [ ] Stable release

Stay Updated

To be notified when this package is released:

  1. Star the main repository
  2. Watch for releases on GitHub
  3. Follow development progress in the discussions

Related Packages

License

MIT License - see the LICENSE file for details.

Contributing

We welcome contributions! See the main Contributing Guidelines for information on how to contribute to this package.

Even though the package is under development, you can help by:

  • Reviewing the planned API design
  • Suggesting Vue-specific features
  • Testing early preview versions
  • Contributing to documentation