@rezafab/fab-button-vue
v1.6.1
Published
Vue adapter for FabButton.
Readme
@rezafab/fab-button-vue
Vue adapter for FabButton.
Install
pnpm add @rezafab/fab-button-vue vueUsage
<script setup lang="ts">
import { FabButton } from "@rezafab/fab-button-vue"
const sections = [
{ key: "save", label: "Save", onClick: () => console.log("save") },
{ key: "share", label: "Share", onClick: () => console.log("share") }
]
</script>
<template>
<FabButton :sections="sections" />
</template>Recommendation
For most projects, install the main package:
pnpm add @rezafab/fab-buttonThen import from:
import { FabButton } from "@rezafab/fab-button/vue"Why this package exists
- Provides a framework-specific entrypoint for users who want adapter-level installation.
- Keeps Vue adapter release and internals modular in the monorepo.
- Enables internal composition with shared core and style packages.
Main docs: https://documentation-fab-button.vercel.app/
