Skip to content

Notch - Angular

Terminal window
npm install @fluix-ui/angular @fluix-ui/core @fluix-ui/css
import { Component } from "@angular/core";
import { FluixNotchComponent } from "@fluix-ui/angular";
import "@fluix-ui/css";
@Component({
standalone: true,
imports: [FluixNotchComponent],
template: `
<fluix-notch trigger="click" position="top-center" theme="dark">
<span notch-pill>+</span>
<div notch-content>Quick actions</div>
</fluix-notch>
`,
})
export class AppComponent {}
NameTypeDescription
triggerNotchTriggerOpen behavior
positionNotchPositionScreen anchor
springSpringConfigPhysics config
dotSizenumberCollapsed pill size
roundnessnumberCorner smoothing
themeNotchThemeVisual theme
fillstringBackground fill color
openbooleanControlled open state
openChangeEventEmitter<boolean>Open/close event
  • [notch-pill]: collapsed content
  • [notch-content]: expanded content