@tipolox/litgrid-vue

Vue 3 wrapper for LitGrid
728 4
Install
npm install @tipolox/litgrid-vue
Latest Version:1.2.2
Vue:3
License:MIT
Last Updated:Oct 22, 2026
Links: GitHub  ·  npm
Maintainer: tipolox

@tipolox/litgrid-vue

Vue integration for LitGrid's yc-grid Web Component. The DataGrid component provides declarative props, typed emits, and a component ref API. The Web Component dependency is included.

Install

npm install @tipolox/litgrid-vue

Requires Vue matching the package's peer dependency range: ^3.5.0. Use a modern browser with native Web Component support and a bundler that supports ECMAScript modules.

Quick start

Use this Vue single-file component in your application:

<script setup lang="ts">
import { DataGrid } from '@tipolox/litgrid-vue'
import type { GridColumn } from '@tipolox/litgrid-vue'

const data = [
  { id: 1, name: 'Ada' },
  { id: 2, name: 'Grace' }
]
const columns: GridColumn[] = [
  { key: 'id', header: 'ID', width: 80 },
  { key: 'name', header: 'Name', width: 180 }
]
</script>

<template>
  <DataGrid :data="data" :columns="columns" :height="400" />
</template>

height defines the viewport used for row virtualization. Replace data and column arrays when updating their contents.

Resources

Licensed under the MIT License.

Related Packages

vue-resize-directive

Vue.js 2.0 directive to detect element resize

751,383 321
omi-vueify

Bridge between omi and vue

31,156 13,277
@zeus-js/output-vue-wrapper

Zeus Vue wrapper output plugin

23,915 5
vue-semantic-modal

Vue.js 2.0 modal component for semantic UI

3,671 45
@thinkpixellab-public/vue-resize-directive

Vue.js 2.0 directive to detect element resize

1,661 0

Version History

Version Released Vue License
1.2.2 ^3.5.0 MIT
1.2.1 ^3.5.0 MIT
1.2.0 ^3.5.0 MIT
1.1.0 ^3.5.0 MIT
1.0.3 ^3.5.0 MIT