@fluidkit/vue
v2.0.0
Published
Fluid Kit for Vue: Liquid Blur's glass, morph, indicator, drag, lift and layout as components and composables, on interruptible springs that keep their speed.
Maintainers
Readme
@fluidkit/vue
Fluid Kit for Vue: Liquid Blur's glass, morph, indicator, drag,
lift and layout as components and composables, on interruptible springs that keep their speed. Each
part can render as the element in its slot with as-child. It has all of
@fluidkit/core too, so it's the one package to
install. Vue 3.5+.
npm install @fluidkit/vue<script setup lang="ts">
import "@fluidkit/vue/style.css";
import { Lift } from "@fluidkit/vue";
</script>
<template>
<Lift.Root @select="(value) => act(value)">
<Lift.Target as-child><img :src="src" alt="" /></Lift.Target>
<Lift.Menu class="menu lb">
<Lift.Item value="copy">Copy</Lift.Item>
<Lift.Item value="share">Share</Lift.Item>
</Lift.Menu>
</Lift.Root>
</template>Every feature, its parts and its composable are in the documentation, with Vue chosen.
License
MIT © Mikhail Mogilnikov. See LICENSE.
