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

dil-ui

Latest version: v0.2.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: dil-dev
5 Versions
198 Downloads

Scan summary

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

  • Releases: 5 versions; the latest 3 were published within 3 days (27–29 Nov 2026).
  • Findings: 1 rule fired in version 0.2.0 (1 medium). The score describes this version only.
  • Downloads: 198 downloads.

Versions

5 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0 LATEST 29 Nov 2026 1 rule fired
0.2.0-rc.2 29 Nov 2026 1 rule fired
0.2.0-rc.1 27 Nov 2026 1 rule fired
0.1.0 12 Oct 2026 Not shown
0.0.1 13 Aug 2026 Not shown

Rules fired in 0.2.0: 1

Findings

1 Medium

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.

Function reached through a chain of indirect calls

The code obtains a function through a computed property lookup whose key is not a plain literal, calls it, and then calls the value it returns. Obfuscated loaders use this double indirection to reach the Function constructor without its name appearing in the source. This is a code shape, not evidence of intent, and is shown to help review obfuscated code.

MEDIUM
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

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.

dil-ui

A React component library built with TypeScript. Components are exported from the dil-ui package and grouped below by their source folder for easy browsing.

Contents

  • Installation
  • Quick start
  • Components
    • Actions
    • Data display
    • Data entry
    • Effects
    • Feedback
    • Forms
    • Overlays
    • Navigation
    • UI
  • Themes
  • Development

Installation

npm install dil-ui

See the release and installation guide for local tarball installs and versioned releases.

Import the library stylesheet once in your application entry point.

import "dil-ui/styles.css";

Quick start

Components are available as named exports:

import { Button, Card } from "dil-ui";

function Example() {
  return (
    <Card>
      <Button>Get started</Button>
    </Card>
  );
}

Components

Component names below reflect the library's exported components; compound components are grouped together where applicable.

Actions
  • Button — Primary and secondary action button.
  • IconButton — Compact button for icon-based actions.
Data display
  • Avatar — Represents a person or entity.
  • Badge — Displays a compact status or label.
  • Card — Groups related content in a surface.
  • ChartContainer, ChartTooltip, ChartLegend — Theme-aware responsive chart composition built on Recharts. See chart usage.
  • List, ListItem — Semantic ordered or unordered lists and their items.
  • Table, DataTable — Tabular data and data-table presentation.
Data entry
  • Combobox, MultiSelect — Searchable single- and multiple-choice selection.
  • DatePicker, DateRangePicker, DateTimePicker, MonthPicker — Date and month selection.
  • TimePicker, TimeRangePicker — Time and time-range selection.
Effects
  • Counter — Animated number display.
  • GradientText — Text styled with a gradient.
  • Marquee — Scrolling content display.
  • Terminal — Terminal-style content presentation.
  • TextHover — Hover effect for text.
  • Typewriter — Typewriter-style text animation.
Feedback
  • Alert — Persistent inline status and alert banner (info, success, warning, danger) with automatic status/alert ARIA roles and theme-safe contrast tokens.
  • Progress — Shows task or loading progress.
  • Skeleton — Placeholder while content loads.
  • Spinner — Loading indicator.
  • Toast — Brief, temporary notification.
Forms
  • Checkbox, Radio, Switch — Boolean and single-choice controls.
  • FileInput — File selection control.
  • Input, TextArea — Single- and multi-line text fields.
  • Label — Form control label.
  • Select — Option selection control.
  • Slider — Selects a value within a range.
Overlays
  • Collapsible — Expandable and collapsible content.
  • Dialog — Modal dialog content.
  • Popover — Anchored floating content, with trigger, content, anchor, and close components.
  • Tooltip — Contextual hint attached to an element.
Navigation
  • Accordion, AccordionItem, AccordionTrigger, AccordionContent — Accessible single- or multiple-item disclosures. See Accordion usage.
UI
  • LoadingBar — Linear loading indicator.
  • NeoNavbar, NeoSidebar — Navigation layouts with a neobrutalist style.
  • PatternBackground — Decorative patterned background.
  • Timeline, TimelineItem — Events or steps arranged along a timeline.

Themes

Use a built-in theme (neobrutalism, glassmorphism, or retroterminal) with ThemeProvider, or pass a custom Theme object. To create a preset based on an existing one, copy its tokens and override the values you need:

import { ThemeProvider, themeRegistry, type Theme } from "dil-ui";

const base = themeRegistry.glassmorphism;
const oceanTheme: Theme = {
  ...base,
  name: "ocean",
  light: {
    ...base.light,
    colors: { ...base.light.colors, primary: "#075985" },
    foregrounds: { ...base.light.foregrounds, primary: "#FFFFFF" },
  },
  dark: {
    ...base.dark,
    colors: { ...base.dark.colors, primary: "#7DD3FC" },
    foregrounds: { ...base.dark.foregrounds, primary: "#000000" },
  },
};

<ThemeProvider theme={oceanTheme} mode="system">{/* app */}</ThemeProvider>;

The Theme type and built-in themeRegistry are exported from dil-ui. Custom themes need both light and dark tokens and can also be passed to ThemeScope. Use useTheme and useThemeTokens to access the active theme within components.

ThemeProvider and ThemeScope include theme tokens in the server HTML. Explicit light and dark modes render their own tokens immediately. On the server and during hydration, system starts with light tokens. It follows the browser preference after hydration and updates when that preference changes.

ThemeScope provides its preset and mode to useTheme and useThemeTokens inside the scope. Dialog, Popover, and Tooltip use the nearest theme. A custom portal target keeps its placement and receives the source theme tokens when it belongs to a different scope.

The optional ThemeTokens.foregrounds entries pair text and icons with their corresponding solid fills (--dil-color-*-foreground), while ThemeTokens.textColors provides WCAG AA (>= 4.5:1) surface-safe accent text tokens (--dil-color-*-text) for headings, links, and inline accents placed directly on --dil-color-background or --dil-color-surface. Built-in presets also emit --dil-color-surface-subtle, --dil-font-heading, --dil-font-mono, --dil-effect-backdrop-blur, --dil-effect-page-background, and resolved data-dil-theme="<name>" / data-dil-mode="light|dark" attributes on ThemeProvider and ThemedPortal. An omitted foreground or text-accent entry falls back to the theme's colors.text value.

Give an icon-only IconButton a name with aria-label or aria-labelledby. Open the showcase's Actions section to compare filled, transparent, and disabled controls through the preset and color-mode controls.

Development

npm install
npm run dev
npm test
npm run build

npm pack builds the library and verifies the package's JavaScript, CSS and declaration entry points. Recharts is installed as a package dependency. If you load the UMD bundle directly from a script tag, load Recharts first so the Recharts global is available.

The package is pre-1.0, so component APIs may change as the library develops.

Stylesheet isolation

Import dil-ui/styles.css once. The package scopes its resets and generated utilities to dil-ui component markup. It uses private names for its Tailwind utility properties and animations. Components can render outside ThemeProvider, and your app's Tailwind utilities can override component defaults through className.

The showcase compiles its own page styles. They are separate from the published stylesheet.

Next.js App Router

Import dil-ui/styles.css from your root layout. Import interactive dil-ui components and hooks from a client component with a "use client" directive. The server page can render that client component.

The packed package was verified in a Next.js 16.4.6 production build with React 19.3.0, including prerendered content, stylesheet loading and a hydrated button interaction.

Component showcase

Run npm run dev to browse the examples in src/examples. The showcase lets you select a theme preset and color mode, compare unthemed examples, and open a navbar and sidebar demo.

Open Portfolio patterns (?example=portfolio) to try section navigation and terminal commands. Enter help, use the arrow keys to recall commands, and enter cv to preview a dialog. On mobile, open the navigation menu with Enter and dismiss it with Escape.

Run npm run build:showcase to create a static site in dist-showcase/. Run npm run preview:showcase to preview that output locally. A static host can serve that directory, including when hosted under a subdirectory. The library package uses dist/.

Production readiness

See the readiness review and release plan.

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 dil-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

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229