v3-bento
TypeScript icon, indicating that this package has built-in type declarations

0.0.2-alpha.6.19 • Public • Published

V3-Bento

v3-bento

A simple bento layout component for Vue3.

Document: https://v3bento.mmeme.me/

🌸 Get Started

pnpm install v3-bento

🍄 Usage

<Bento
  :bentoCells="bentoCells"
  class="!h-[610px] overflow-y-auto overflow-x-hidden p-[10px] box-content"
  :size="140"
  :disabled="false"
  :gap="10"
  :maximum-cells="4"
  @drag-end="(e: any) => console.log(e)"
  @drag-start="(e: any) => console.log(e)"
>
  <BentoItem
    v-for="item in bentoCells"
    :key="item.id"
    :id="item.id"
    :x="item.x"
    :y="item.y"
    :width="item.width"
    :height="item.height"
  >
    <Cell :url="'./' + item.id + '.svg'" :bg="'#fff'" />
  </BentoItem>
</Bento>

/v3-bento/

    Package Sidebar

    Install

    npm i v3-bento

    Weekly Downloads

    2

    Version

    0.0.2-alpha.6.19

    License

    MIT

    Unpacked Size

    29.8 kB

    Total Files

    5

    Last publish

    Collaborators

    • pinky-pig