vue-flow-layout

🌊 The Vue waterfull layout component.

npm version npm downloads License

## Features - 🌊 Waterfull layout - 📦 Lightweight - 🎨 Elegant transition - 📱 Responsive ## Install ```bash pnpm add vue-flow-layout ``` ## Usage ```ts 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: ```vue ``` ## Props | Name | Type | Default | Description | | ---------- | ------------------------ | ------- | ------------------------------------ | | cols | number | 2 | The number of columns | | gap | number \| [number, number] | 4 | The gap between items for X|Y | | duration | number | 350ms | The transition duration | ## Credits - [wc-flow-layout](https://github.com/huodoushigemi/wc-flow-layout) ## license [MIT](./LICENSE)