Notch - Vue
Installation
Section titled “Installation”npm install @fluix-ui/vue @fluix-ui/cssBasic Usage
Section titled “Basic Usage”<script setup>import { Notch } from "@fluix-ui/vue";import "@fluix-ui/css";</script>
<template> <Notch trigger="click" position="top-center" theme="dark"> <template #pill> <span>+</span> </template> <template #content> <div>Quick actions</div> </template> </Notch></template>| Prop | Type | Default | Description |
|---|---|---|---|
trigger | NotchTrigger | "click" | Open behavior |
position | NotchPosition | "top-center" | Screen anchor |
spring | SpringConfig | core default | Physics config |
dotSize | number | 36 | Collapsed pill size in px |
roundness | number | 20 | Corner smoothing |
theme | NotchTheme | "dark" | Visual theme |
fill | string | theme variable | Background fill color |
open | boolean | uncontrolled | Controlled open state |
onOpenChange | (open: boolean) => void | - | Open/close callback |
pill: collapsed contentcontent: expanded content
See Also
Section titled “See Also”- Notch Overview - Cross-framework overview
- Theming - Theme variables and custom themes
- Architecture - Shared core and adapters