Behaviours
What every screen shares, switched on by IntelQIProvider (or installIntelQI()). They work on the framework components as much as on the Ui* ones, by what is on the page, not by what a screen asks for.
| Behaviour | What it does | Off |
|---|---|---|
| Gliding highlight | One highlight per list glides from row to row behind the pointer, taking each row's size and corners, instead of each row lighting up. Menus, selects, comboboxes and lists. | The site's IntelQI Theme Settings, or installIntelQI({ glide: false }) |
| Magnetic buttons | Buttons lean towards the pointer on a spring. | The person's Custom corner (it is off as standard), or { magnetic: false } |
| The press | While held, a pill's corners tuck square in six quick steps; no scaling. | Reduce motion |
| Appear | A button that comes or goes on its own does so through a blur. | Reduce motion |
| Gradients | Each gradient pill wears the accent a little differently. | |
| Overflow tips | Cut-off text shows in full under the pointer. | |
| Light and dark | D switches, anywhere but while typing. | { themeShortcut: false } |
Each starts on its own: one that cannot work on a page leaves the rest working. All follow the device's reduce-motion setting.
Directives
| Directive | What it does |
|---|---|
v-magnetic | Makes any element lean to the pointer, as buttons do. |
v-scroll-fade | Fades a scroll area's edges where there is more to see. |
v-dial | A scrolling list that turns like a dial: rows shrink and fade near its ends. |
vue
<script setup>
import { vScrollFade } from 'intelqi-ui'
</script>
<template>
<div v-scroll-fade class="max-h-80 overflow-y-auto">…</div>
</template>Switching them on yourself
An app that does not use IntelQIProvider calls installIntelQI() once, before it mounts:
ts
import { installIntelQI } from 'intelqi-ui'
installIntelQI({ themeShortcut: false })
createApp(App).mount('#app')