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

@donotdev/ui

Latest version: v0.3.6

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: donotdev
1 Stars
0 Forks
13 Versions
2.4K Downloads
TypeScript Repo language

Scan summary

@donotdev/ui was last scanned on 24 Nov 2026 at version 0.3.6. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 13 versions; the latest 5 were published within 5 days (20–24 Nov 2026).
  • Findings: No rules fired in version 0.3.6.
  • Downloads: 2,395 downloads.

Versions

13 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.6 LATEST 24 Nov 2026 No rules fired
0.3.5 24 Nov 2026 No rules fired
0.3.4 22 Nov 2026 No rules fired
0.3.3 22 Nov 2026 Not shown
0.3.2 20 Nov 2026 Not shown

No rules fired in 0.3.6

Findings

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

README

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

@donotdev/ui

Complete UI system and provider architecture for the DoNotDev Framework.

Installation

npm install @donotdev/ui
# or
bun install @donotdev/ui

License

MIT. See LICENSE.md.

Quick Start

Vite Applications
import { ViteAppProviders } from '@donotdev/ui/vite';
import HomePage from './pages/HomePage';

export function App() {
  return (
    <ViteAppProviders
      config={{
        app: { name: 'My App' },
        layout: { preset: 'landing' },
      }}
      LandingPage={HomePage}
    />
  );
}
Next.js Applications
import { NextJsAppProviders } from '@donotdev/ui/next';

export default function RootLayout({ children }) {
  return (
    <html lang="en">
      <body>
        <NextJsAppProviders
          config={{
            app: { name: 'My App' },
            layout: { preset: 'landing' },
          }}
        >
          {children}
        </NextJsAppProviders>
      </body>
    </html>
  );
}

Configuration

App Configuration

All configuration is passed through a single config prop with smart defaults:

<ViteAppProviders
  config={{
    app: {
      name: 'My Application',
      description: 'Built with DoNotDev',
      logo: '/logo.svg',
    },
    auth: {
      authRoute: '/signin', // Default: '/login'
      roleRoute: '/403', // Default: '/404'
      tierRoute: '/pricing', // Default: '/404'
    },
    seo: {
      baseUrl: 'https://example.com',
      defaultImage: '/og-image.png',
    },
    layout: {
      preset: 'admin', // Use LAYOUT_PRESET constants from @donotdev/types
      footerPosition: 'fixed',
      breadcrumbs: 'smart',
    },
    features: {
      debug: true, // Auto-detects isDev() by default
    },
  }}
  LandingPage={HomePage}
  layout={{
    header: { end: () => <LoginButton /> },
    footer: () => <CustomFooter />,
  }}
/>
Minimal Configuration

Everything has defaults - only override what you need:

<ViteAppProviders LandingPage={HomePage} />

Layout Presets

The framework includes professional layout presets:

  • landing - Marketing sites (header + footer)
  • admin - Admin dashboards (header + sidebar + footer)
  • docs - Documentation (sidebar + footer)
  • moolti - SaaS apps (sidebar only)
  • dashboard - Data dashboards (header + sidebar + footer)
  • plain - Minimal (content only)

Layout Customization

Layout Overrides

Customize specific zones without rebuilding layouts:

<ViteAppProviders
  layout={{
    preset: 'admin',
    header: {
      start: () => <CustomLogo />,
      center: () => <SearchBar />,
      end: () => <UserMenu />,
    },
    sidebar: {
      top: () => <Branding />,
      content: () => <Navigation />,
      bottom: () => <UserProfile />,
    },
    footer: () => <CustomFooter />,
  }}
/>

Simple API:

  • preset?: string - Layout preset name (default: 'landing')
  • header?: DnDevOverride | { start?, center?, end? } - Full override or slot overrides
  • footer?: DnDevOverride - Full footer override
  • sidebar?: DnDevOverride | { top?, content?, bottom? } - Full override or slot overrides
  • mergedbar?: DnDevOverride | { trigger?, top?, content?, bottom? } - Mobile navigation override

Slot override behavior:

  • Omit property → Uses preset defaults merged with framework defaults
  • () => null → Explicitly hides the slot (no content rendered)
  • () => ReactNode → Custom component override

All overrides are lazy functions: () => ReactNode | null - components load when rendered, not in provider tree.

Example:

layout={{
  header: {
    center: () => null,  // Hide center slot
    end: () => <MyCustomActions />  // Override end slot
    // start omitted → uses defaults
  }
}}
CSS Variable Overrides

Fine-tune layout dimensions:

<ViteAppProviders
  config={{
    layout: {
      preset: 'admin',
      overrides: {
        '--header-height': '96px',
        '--sidebar-width': '320px',
        '--main-padding': '2rem',
      },
    },
  }}
/>

Components

Layout Components

Access config anywhere with hooks:

import { useAppConfig } from '@donotdev/hooks';

function Header() {
  const name = useAppConfig('name');
  const url = useAppConfig('url');
  return <h1>{name}</h1>;
}
SEO Components

Automatic SEO meta tags:

// SEO is automatic - uses useSeoConfig() internally
// Configure via config.seo
Favicon System

Automatic favicon tags (icons, apple-touch-icon, theme-color, color-scheme), in the server HTML on Next (FaviconHead) and written into index.html by the Vite build. Declare none in AppDocument / index.html.

// Favicon is automatic - configure via config.favicon (false disables it)

Provider Hierarchy

AppConfigProvider (configuration context)
  ↓
HelmetProvider (head management)
  ↓
StoresInitializer (state management)
  ↓
NavigationProvider (routing)
  ↓
QueryProviders (React Query)
  ↓
UIProviders (design system)
  ↓
Layout + Content

Platform Support

Vite Features
  • React Router integration
  • Virtual module imports
  • SPA optimization
  • Fast HMR
Next.js Features
  • App Router integration
  • Server-side rendering
  • Static generation
  • Server components

TypeScript Support

Full TypeScript support with intelligent defaults:

import type { AppConfig } from '@donotdev/types';

const config: AppConfig = {
  app: { name: 'My App' },
  layout: { preset: 'admin' },
};

Exports

Platform-Specific
import { ViteAppProviders } from '@donotdev/ui/vite';
import { NextJsAppProviders } from '@donotdev/ui/next';
Components
import { Layout, Breadcrumbs, GlobalGoTo } from '@donotdev/ui';
Hooks (Re-exported from @donotdev/hooks)
import {
  useAppConfig,
  useAppMetadata,
  useAuthConfig,
  useSeoConfig,
  useFaviconConfig,
  useFeaturesConfig,
} from '@donotdev/ui';

Package: @donotdev/ui\ Version: 1.0.0\ Author: AMBROISE PARK Consulting

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 @donotdev/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

Vulnerability Insights

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

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229