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

@horizonloop/ui

Latest version: v0.2.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: andreiverdes
1 Versions
19 Downloads

Scan summary

@horizonloop/ui was last scanned on 29 Nov 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 29 Nov 2026.
  • Findings: No rules fired in version 0.2.0.
  • Downloads: 19 downloads.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0 LATEST 29 Nov 2026 No rules fired

No rules fired in 0.2.0

Findings

Findings for v0.2.0. 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.2.0; other versions have their own rules, not their own score.

README

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

HorizonUI

HorizonUI is a React 19 design system for desktop tooling and AI-assisted development apps. It is built on Tailwind v4 and Radix primitives, ships a light and a dark theme with two densities, and includes everything an IDE-style app needs: window chrome, dock panels, a code editor surface, data grids, settings screens and a full set of components for AI agents. The demo agent in the playground is called Apollo.

Website: horizon-loop.github.io/horizon-ui, with a kitchen sink of every component, live.

Install

HorizonUI is published on npm as @horizonloop/ui:

npm install @horizonloop/ui

To use an unreleased build, build it from this repository and install it from the local path (or add it as a workspace package in a monorepo):

# in this repository
npm install
npm run build

# in your app
npm install /path/to/horizon-ui

The package depends on radix-ui, lucide-react, clsx and tailwind-merge; they are installed with it and are not copied into dist/index.js. React and React DOM 19 are peer dependencies.

Import the stylesheet once and the components from the package:

import "@horizonloop/ui/styles.css";
import { HorizonProvider, Button } from "@horizonloop/ui";

Provider, theme and density

Every component needs a HorizonProvider above it. It sets the theme tokens, the density and the reduced-motion switch for everything inside.

<HorizonProvider theme="dark" density="compact">
  <App />
</HorizonProvider>

theme is "light" or "dark". density changes control heights and row sizes. reducedMotion turns off all HorizonUI animation; the operating-system setting is honoured as well.

Styling

  • Design tokens are exposed as Tailwind utilities with the hz prefix: bg-hz-surface, text-hz-fg-muted, rounded-hz-card, shadow-hz-2, text-hz-sm. Use these in your own markup so it follows the theme. Tailwind's default palette is not part of the build.
  • The stylesheet does not scan your source. It contains the library's own classes plus a shipped set of layout families (flex, grid, gap, padding, margin, sizing, position, overflow and text utilities for the common values). If you need another value, add your own utility or an inline style.
  • Motion utilities (hz-animate-fade-in, hz-animate-slide-up, hz-transition and others) share one set of durations and easing curves and switch off with reduced motion.
The global reset and using a host Tailwind v4 setup

@horizonloop/ui/styles.css is a compiled Tailwind v4 build and includes Tailwind's preflight reset. The reset is not scoped to .hz-root: it sits in @layer base and applies to the whole page (*, html, body, headings, lists, button, input, img and so on), so importing the stylesheet changes the look of any markup outside HorizonUI too. Only HorizonUI's own typography, colour and box-sizing rules are scoped to .hz-root.

The stylesheet declares the same layer order Tailwind v4 uses (@layer theme, base, components, utilities), so it merges with a host that uses Tailwind v4:

  • Importing it next to a host Tailwind v4 stylesheet is safe: the second copy of preflight is a repeat of the same rules.

  • The stylesheet also defines Tailwind's default theme variables (--spacing, --font-sans, --default-*). If your host customises any of them in its own @theme, import @horizonloop/ui/styles.css before the host stylesheet so the host's values win within the same layer. HorizonUI's own tokens are all prefixed (--color-hz-*, --radius-hz-*, --text-hz-*, --spacing-hz-*) and never collide with the host's.

  • Unlayered host CSS always beats layered CSS, whatever the import order.

  • To drop the global reset, rebuild the stylesheet without preflight. In src/styles/index.css replace @import "tailwindcss" source(none); with the pieces and keep the rest:

    @layer theme, base, components, utilities;
    @import "tailwindcss/theme.css" layer(theme);
    @import "tailwindcss/utilities.css" layer(utilities) source(none);

    Then run npm run build. Without preflight your host must supply its own reset, because the components assume border-box sizing, unstyled buttons and inputs, and zeroed heading margins.

The AI gradient rule

The AI colours are three tokens (ai-1, ai-2, ai-3) running from violet to amber. They mark AI at work:

  • Live activity uses the gradient or its shimmer: a streaming caret, a running agent's ring, the AI key in the title bar while an agent runs, a shimmering "Apollo · working" status. It stops when the activity stops.
  • Things that come from the AI but are not live (an AI-originated action such as the AI button or a "refactor finished" notification, a suggestion badge) use the ai variant or tone of the component: the AI button is filled with the gradient, tones are a single tinted mid-hue with ink text.
  • Gradient text (the shimmer on a working status) uses ai-text-1 to ai-text-3, the same hues darkened in the light theme so every point of the sweep reads at 4.5:1 or better; fills, rings and the dark theme use ai-1 to ai-3.
  • Data visualisation, settings controls and decoration never use it; they stay on ink and the neutral palette.

Components

  • Foundations: HorizonProvider, Stack, Inline, Divider, Groove, Tray, ScrollArea, SplitPane, Kbd, VisuallyHidden, Portal.
  • Actions: Button, IconButton, SplitButton, ButtonGroup, ToggleButton, SegmentedControl, Toolbar, Key, Link, Spinner.
  • Inputs: TextField, TextArea, SearchField, NumberField, Select, Combobox, TagInput, Checkbox, Radio, Switch, Slider, FormField, InlineEdit, ShortcutInput, ColorSwatchPicker, FileDrop.
  • Data: Badge, Tag, Avatar, StatusDot, StatusPill, Card, Stat, Sparkline, Tree, Timeline, PropertyGrid, DataGrid, ResourceTable, FilteredTable, ChangeTable and related displays.
  • Feedback: Toaster and toast, Banner, InlineAlert, ProgressBar, ProgressRing, Skeleton, EmptyState, Loader, ErrorCard, ConfirmPopover.
  • Overlays and navigation: Dialog, Sheet, Popover, HoverCard, Tooltip, DropdownMenu, ContextMenu, CommandPalette, Tabs, Accordion, Breadcrumbs, Pagination, Sidebar, Stepper, ActionBar.
  • Shell: AppFrame, TitleBar, RunControl, DockBar, DockPanel, StatusBar, EditorTabs, PathBar, CodeEditor, Minimap, Terminal, ProblemsList, SettingsLayout.
  • AI: ChatThread, ChatMessage, PromptComposer, StreamedAnswer, Markdown, ThoughtTrace, AgentStatus, ToolRun, PlanChecklist, PermissionPrompt, DiffReview, CodeBlock, ContextMeter, ContextTray, InlineSuggestion, SelectionToolbar, ModelPicker, SessionList, TokenUsage, WorkflowGraph, InsightCarousel, ParameterPanel, DecisionCard, AgentLiveView.

The playground (npm run dev) shows every component in light and dark, and three composed screens: an IDE with an Apollo chat, an agent dashboard and a settings page. The website (site/) reuses those specimens for its kitchen sink; .github/workflows/site.yml publishes it to GitHub Pages on every push to main.

AI components are prop-driven

None of the AI components fetch anything or call a model. They render the state you give them. Your app owns the network, the agent loop and the session store; the components show messages, tool runs, permission requests and streaming text.

To stream an answer, keep the partial text in state and pass it with streaming:

import { useEffect, useState } from "react";
import { StreamedAnswer } from "@horizonloop/ui";

function Answer({ source }: { source: () => AsyncIterable<string> }) {
  const [partial, setPartial] = useState("");
  const [done, setDone] = useState(false);

  useEffect(() => {
    let cancelled = false;
    setPartial("");
    setDone(false);
    (async () => {
      for await (const chunk of source()) {
        if (cancelled) return;
        setPartial((p) => p + chunk);
      }
      if (!cancelled) setDone(true);
    })();
    return () => { cancelled = true; };
  }, [source]);

  return <StreamedAnswer streaming={!done} content={partial} />;
}

While streaming is true the answer shows a caret and aria-busy; when it turns false the caret goes, and sources and follow-up chips appear if you passed them. ChatThread takes suggestions (an array of prompt strings) for the empty-state hero; each one is reported through onSuggestion, and none are shown unless you pass them. Demo content: a component shows its built-in demo only when it is rendered with no props at all (class names, refs, aria-*, data-*, event handlers and pure presentation props such as size, variant, tone, open or state do not count). As soon as you pass any data or content prop, even cost={undefined}, the rest renders empty or neutral ("—", 0, an empty list) and never mixes in invented data. Toaster is the one exception: it shows demo toasts only with demo.

Icons

Icons come from Lucide (ISC, portions MIT) and are re-exported through the Icons namespace, so your code depends on HorizonUI names. File-type icons are HorizonUI's own neutral monograms. Third-party licences and notices are listed in THIRD_PARTY_NOTICES.md.

Scripts

Script What it does
npm run build Builds tokens, fonts, CSS, JS and types, then runs the class check
npm test Runs the test suite (Vitest, jsdom)
npm run dev Starts the playground with hot reload on port 5188
npm run playground:build Builds the playground for screenshots
npm run site:dev Starts the website (home page and kitchen sink) with hot reload on port 5190
npm run site:build Builds the library, then the website into site/dist/
npm run screenshots [ids] Captures every section (or the given ids) in light and dark into screenshots/
npm run check Renders every export and fails if a class has no matching CSS
npm run typecheck Type-checks the library, tests, playground and website

Licence

Apache License 2.0, copyright 2026 HorizonLoop SRL. See LICENSE and NOTICE. If you redistribute HorizonUI or a work derived from it, include the NOTICE file so HorizonLoop SRL is credited as the author (Apache-2.0 section 4(d)). Third-party software and fonts are listed in THIRD_PARTY_NOTICES.md.

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 @horizonloop/ui

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229