vue-flow-layout
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

vue-flow-layout

🌊 The Vue waterfull layout component.

npm version npm downloads License

Features

  • 🌊 Waterfull layout
  • 📦 Lightweight
  • 🎨 Elegant transition
  • 📱 Responsive

Install

pnpm add vue-flow-layout

Usage

import { createApp } from 'vue'
import VueFlowLayout from 'vue-flow-layout'
import App from './App.vue'

createApp(App).use(VueFlowLayout).mount('#app')

Use in your component:

<template>
  <FlowLayout>
    <div v-for="i in 100" :key="i" class="item">
      {{ i }}
    </div>
  </FlowLayout>
</template>

Props

Name Type Default Description
cols number 2 The number of columns
gap number | [number, number] 4 The gap between items for X
duration number 350ms The transition duration

Credits

license

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.06latest

Version History

VersionDownloads (Last 7 Days)Published
0.2.06
0.1.190,463
0.1.036
0.0.54,493

Package Sidebar

Install

npm i vue-flow-layout

Weekly Downloads

94,998

Version

0.2.0

License

MIT

Unpacked Size

9.42 kB

Total Files

5

Last publish

Collaborators

  • zyyv