Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@leavepulse/ui

Latest version: v0.107.1

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: theroer
1 Stars
1 Forks
211 Versions
19.8K Downloads
TypeScript Repo language

Scan summary

@leavepulse/ui was last scanned on 25 Nov 2026 at version 0.107.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 211 versions; the latest 5 were published within 5 days (21–25 Nov 2026).
  • Findings: No rules fired in version 0.107.1.
  • Downloads: 19,800 downloads.

Versions

211 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.107.1 LATEST 25 Nov 2026 No rules fired
0.107.0 23 Nov 2026 No rules fired
0.106.0 23 Nov 2026 No rules fired
0.105.1 22 Nov 2026 Not shown
0.105.0 21 Nov 2026 Not shown

No rules fired in 0.107.1

Findings

Findings for v0.107.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.107.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@leavepulse/ui

Token-driven Vue 3 component kit for LeavePulse — components on reka-ui and Tailwind CSS v4, a runtime theme engine (themes are JSON token sets), and a composable block-layout canvas.

Contents

  • Install and Usage
  • Configuration: theme, labels and languages, icons, Nuxt, overlays and Back, prop check, WebKitGTK glass, scrollbars
  • Components: every component by group, with what it is for
  • Guides: linked views, workspaces, forms, tables, clipboard, video, gestures and sideways rows, command palette
  • Develop and Releasing

Install

Published to the public npm registry:

npm install @leavepulse/ui

Peer dependencies to install alongside: vue 3.5+, reka-ui 2.9+, tailwindcss 4, tailwind-variants 3, motion-v 2, @iconify/vue 5, @iconify-json/lucide and @internationalized/date. @nuxt/kit is only needed for the Nuxt module.

Usage

Styling follows the @nuxt/ui model: the consuming app owns Tailwind, the kit contributes its @theme tokens and a @source over its own components. In your app's main CSS:

@import "tailwindcss";
@import "@leavepulse/ui/css";

Then use the components:

<script setup lang="ts">
import { LpButton, LpModal } from "@leavepulse/ui"
</script>

The kit does not ship a precompiled stylesheet — your Tailwind build emits the utilities its components use, scoped via the @source globs in the CSS entry.

Apps using the topology canvas (LpTopologyCanvas) also import its stylesheet:

@import "@leavepulse/ui/canvas.css";
Module format

The package is ESM only: require("@leavepulse/ui") is not supported. Import from the package root; @leavepulse/ui/dist/*.js also resolves, for a tool that needs one file (the Nuxt module does), and covers components, composables, layout and theme.

Configuration

Theme before mount (plain Vue)

Themes are JSON token sets applied at runtime. Paint the saved one before the app mounts, so the first frame already has the right colours:

import { bootstrapTheme, dark, light, nord, useTheme } from "@leavepulse/ui"

bootstrapTheme(dark)
createApp(App).mount("#app")

// later, from a switcher or settings page
useTheme().setTheme(nord)
useTheme().setSystem({ light, dark }) // follow the OS colour scheme

LpThemeProvider applies a theme to one subtree only (a dark sidebar in a light app, a live preview). With transition, changing its theme reveals the new one with the same circular transition as the page switch, from where the user last pressed. revealTransition(update, origin) runs any repaint behind that reveal.

Labels and languages

provideLpConfig (or app.use(lpConfig({...}))) sets the link component that internal links render (LpLink, LpButton with to/href, LpBreadcrumbs, LpSidebar items) and overrides the English text the kit renders, per scope:

import { RouterLink } from "vue-router"
import { lpConfig } from "@leavepulse/ui"

app.use(lpConfig({
  linkComponent: RouterLink,
  labels: { sidebar: { search: "Suche" }, appShell: { openMenu: "Menü öffnen" } },
}))

A component's own labels prop wins over the configuration.

Ukrainian label pack

The kit ships a complete Ukrainian pack, uk, with an entry for every label scope. Pass it once at the root instead of a labels prop on each use:

import { lpConfig, uk } from "@leavepulse/ui"

app.use(lpConfig({ labels: uk }))
// or, inside a component's setup: provideLpConfig({ labels: uk })

English stays the components' built-in default, so an app without the pack is unchanged. To adjust a few strings, layer them on top: a nested provideLpConfig({ labels: { table: { empty: "Порожньо" } } }) refines the scope rather than replacing it, and a component's labels prop still wins.

The pack is typed as KitLabels, which requires every key of every scope, so a new label that lacks a translation fails the type check. A test also fails when a useLabels("scope", ...) call has no entry in the pack. Writing a pack for another language against KitLabels gets the same checks.

Another language

Every piece of text a component renders belongs to a label scope (table, videoTrim, copyButton…), and KitLabels lists them all with every key. A pack written as const de: KitLabels = { ... } is checked the same way as uk: a scope or a key it misses fails the type check, and a new label in a later version shows up as an error instead of a stray English word. Partial overrides need no type: pass only the scopes and keys you change.

Icons

<LpIcon name="lucide:check"> renders offline, never through the iconify API. The kit registers only the icons its own components use (about 20 KB instead of the whole ~540 KB lucide set). Any other lucide name still renders: the full collection loads as a separate chunk of your bundle the first time one is needed, and an empty box of the same size holds the place until then.

Register icons up front when they must be in the server render or must not wait for a chunk:

import { registerIcons, registerIconCollection } from "@leavepulse/ui"

await registerIcons(["lucide:rocket", "lucide:server"])  // from the bundled lucide set
registerIconCollection(myIconsJson)                      // any iconify collection
import "@leavepulse/ui/icons-all"                        // the whole lucide set, as before

In Nuxt the module does it for you: icons: "scan" (default) registers every lucide:* literal found in the app's source, so they are in the SSR markup; "all" registers the whole set, "kit" only the kit's own, or pass a list.

Looks

A theme says what colour and shape things are; a look says what they are drawn with: an icon set, the character of the motion, and the variant a component takes when the app names none. Set one with the kit config, app-wide or for a subtree, and the app's code stays as it is:

import { lpConfig, useTheme } from "@leavepulse/ui"
import { pixelLook, pixelTheme } from "@leavepulse/ui/look-pixel"

app.use(lpConfig({ look: pixelLook }))  // pixel icons, stepped motion, grid loader, ascii progress, dithered backdrop
useTheme().setTheme(pixelTheme)         // optional: the palette the look was drawn against

The pixel look draws a lucide:* name with its pixelarticons pair where one exists (about 490 names) and leaves the rest lucide; its icons ship in the look-pixel entry, so they reach only apps that import it. An explicit prop (<LpLoader variant="dots">) always beats the look. lpConfig puts the look's motion on the document as data-lp-motion; a subtree with its own look sets that attribute on its wrapper.

A look of your own is a plain object; leave out what you don't change. iconPairs builds the icon table for any iconify set: names the set shares with lucide pair up, synonyms cover the rest, and only cuts the set down to the icons your app renders:

import { iconPairs, lpConfig, type Look } from "@leavepulse/ui"
import phosphor from "@iconify-json/ph/icons.json"

const mine: Look = {
  name: "mine",
  icons: iconPairs(phosphor, { synonyms: { "trash-2": "trash", settings: "gear" } }),
  loader: "dots",
  backdrop: "contours",
}
app.use(lpConfig({ look: mine }))
Nuxt
export default defineNuxtConfig({
  modules: ["@leavepulse/ui/nuxt"],
  leavepulseUi: {
    defaultTheme: "Nord",  // fallback when nothing is saved
    themes: "~/themes",    // optional: module whose default export is your TokenSet[]
  },
})

The module registers every exported component, paints the saved theme during SSR (from the lp-theme cookie, no flash), and provides NuxtLink as the link component. theme: false, link: false and exclude: ["Name"] opt out.

Back and Forward for overlays

provideOverlayHistory() (at the app root, like provideGlass()) makes the browser's Back button close overlays instead of leaving the page:

import { provideOverlayHistory } from "@leavepulse/ui"

// in App.vue's setup; pass the router so a Back that only closes a dialog is not a navigation
provideOverlayHistory(true, { router })
  • Opening an LpModal or LpDrawer (and what is built on them: LpConfirmDialog, LpShortcutsDialog) adds one history entry. Back closes the topmost overlay; nested ones close one per press, top first.
  • Closing through the UI (close button, Escape, the scrim, the app setting open to false) takes the entry back out, so Back is never spent on a step that shows nothing. A guard that keeps the overlay open on Back keeps its entry too.
  • LpTabs inside an open overlay record each switch: Back returns to the previous tab before it closes the overlay. Page-level tabs stay out (an app keeps those in its URL); history on LpTabs opts out inside an overlay or in on a page without a router.
  • Forward after Back does nothing by default: the step is undone at once, so no dead entry is left. The kit only sees a boolean open, and what the app put into the overlay may be gone by then. history="reopen" (or provideOverlayHistory("reopen")) re-opens it on Forward by emitting update:open true while the overlay is still mounted.
  • history on a single overlay wins over the app-wide mode: false keeps an overlay out of history, for one the app already opens from its route query (it would otherwise take two entries for one dialog). An overlay the app writes into the query with router.replace needs nothing: when it closes, the address the app left is kept, and the overlay does not open again from the entry under it.
  • A real navigation (a link, router.push to another path) closes the open overlays, and the entries they leave under the new page are skipped, so Back from it lands on the page in one press. A push that keeps the path (a query or hash, such as an overlay driven by the route query) leaves them open.

The URL never changes and the router's own history.state data is copied into each entry. The router option is vue-router's instance (anything with a listening switch works): without it the router sees each Back that closes an overlay as a visit to the page it is already on (guards and afterEach run again, nothing remounts). A Forward onto a kit entry still reaches it that way, because the entry it starts from belongs to the router. Plain pushState and popstate only, so WebKit (Safari, WebKitGTK) works too.

Catching a misspelt prop

A prop a component does not declare falls through as an attribute with no error, so <LpTooltip text="..."> renders with no tip. lpPropCheck warns in development, and knows data-*, aria-* and anything the rendered element takes. The Nuxt module installs it in nuxt dev (propCheck: false turns it off).

import { lpPropCheck } from "@leavepulse/ui"
if (import.meta.env.DEV) app.use(lpPropCheck, { ignore: [/^x-/] })

vue-tsc also skips unknown props by default. vueCompilerOptions.checkUnknownProps in the app's tsconfig turns that on, but it also reports attributes passed through on purpose (id, title, aria-*), so it suits a one-off sweep better than a standing gate.

Glass on WebKitGTK (Tauri on Linux)

WebKitGTK reports backdrop-filter as supported and then draws nothing, and on some GPUs (NVIDIA with the proprietary driver) it runs without hardware acceleration at all. Call detectBackdropFilter() once at startup: glass panels then turn solid instead of showing the page unblurred.

An app that paints its own wallpaper can keep the frosted look there: hand the kit the same background value and glass panels draw a blurred copy of it, aligned to the screen, under their tint.

import { detectBackdropFilter, setGlassBackdrop } from "@leavepulse/ui"

detectBackdropFilter()
setGlassBackdrop("url(/wallpaper.jpg) center / cover no-repeat, #0b0f14")
// A wallpaper blurred ahead of time is cheaper on an engine that blurs on the CPU:
// setGlassBackdrop("url(/wallpaper-blurred.jpg) center / cover", { filter: "none" })

Only the wallpaper is softened; live content under a panel stays sharp behind its tint. Nothing changes in engines where the real blur works.

Native scrollbar skin (opt-in)

LpScrollArea skins the scroll it owns. For everything it can't — the page itself, sticky panels, code blocks — opt the whole app into the same look by importing the native scrollbar skin. It styles the browser's own scrollbars (brand thumb, thin, rounded) without a container, so sticky positioning, scroll restoration and anchor jumps keep working:

@import "tailwindcss";
@import "@leavepulse/ui/css";
@import "@leavepulse/ui/scrollbar.css"; /* after the tokens — reads --color-brand */

Hide a specific scrollbar with the lp-scrollbar-none class.

Selected text takes the operating system's accent unless told otherwise (on Linux that is the GTK theme, so it can come out red or green next to the kit palette). Opt into the theme's colour the same way:

@import "@leavepulse/ui/selection.css"; /* after the tokens — reads --color-brand */

Components

The list below is generated from the sources (bun run gen:readme), so it always matches what the package exports. The first line of each comes from the comment that opens the component.

143 components. The preview (bun run dev) shows each one live, with its props, events and slots.

  • LpAlert: A notice in the page's flow: info, success, warning or danger, easing between them when it changes.
  • LpAvatar: A person's picture, or their initials on a colour of their own when there is none.
  • LpBadge: A short label or count on a tone: a status, a tag, a number of new items.
  • LpButton: The button, in solid, soft, outline, ghost and danger looks, with loading, an icon-only square and a link mode.
  • LpCard: The surface most content sits on, with an optional header, footer and right-click menu.
  • LpCodeBlock: Code block with lightweight, theme-aware syntax highlighting (codeHighlight.ts — zero deps, synchronous).
  • LpCopyButton: The one copy button: an icon that turns into a tick for a moment, a tip that says "Copy" and then "Copied", and nothing thrown when the clipboard refuses.
  • LpDivider: A rule between blocks, optionally with a label in the middle.
  • LpDock: A row (or column) of icon buttons that swell under the pointer, their neighbours less with distance: the launcher's quick bar of apps, instances or tools.
  • LpEmptyState: What a list or page shows when there is nothing in it yet: an icon, a line and an action.
  • LpIcon: Icon — wrapper over @iconify/vue.
  • LpIdenticon: A face for something that has no picture: a mirrored pixel pattern and a colour, both derived from seed (an id, a username, a key's fingerprint).
  • LpLink: A link that renders the app's router link for internal targets and a plain anchor for external ones.
  • LpLoader: The kit's loading indicator: a spinner, three dots, an indeterminate bar or a 3×3 grid lit corner to corner (the pixel-styled one).
  • LpMasonry: Items of different heights packed into columns without the ragged gaps a grid leaves: memo cards, screenshots, mod tiles.
  • LpPopover: A floating panel anchored to a trigger, for content that is more than a tip.
  • LpRelativeTime: A date said the way people say it ("3 min ago", "in 2 h"), kept true as time passes, with the exact date one hover away.
  • LpScrollArea: Drawn overlay scrollbar (reka ScrollArea).
  • LpSection: A section heading with no default slot: a title, an optional line under it and actions on the right; the section's content goes after it, not inside.
  • LpSkeleton: Loading placeholder, in two shapes.
  • LpStatus: What state something is in, as a light and a word: a server online, a bot starting, a region degraded.
  • LpTooltip: Tooltip for controls whose meaning is not written on them — an icon button, a truncated value, a disabled action that owes an explanation.
  • LpTooltipProvider: Shared timing for every LpTooltip below it: once one tip is showing, moving to the next opens it without waiting the delay again.
  • LpTruncate: Text that may not fit: cut with an ellipsis, and the whole of it in a tip — but only when something was actually cut.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @leavepulse/ui

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229