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

@statewalker/ui.view.shadcn

Latest version: v0.1.5

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: mkotelnikov
0 Stars
0 Forks
3 Versions
1.2K Downloads
TypeScript Repo language

Scan summary

@statewalker/ui.view.shadcn was last scanned on 29 Nov 2026 at version 0.1.5. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest was published on 29 Nov 2026.
  • Findings: No rules fired in version 0.1.5.
  • Downloads: 1,214 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.5 LATEST 29 Nov 2026 No rules fired
0.1.4 6 Oct 2026 No rules fired
0.1.3 4 Oct 2026 No rules fired

No rules fired in 0.1.5

Findings

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

README

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

@statewalker/ui.view.shadcn

What it is

A packaged set of shadcn/ui components (Radix-based React primitives: Button, Dialog, AlertDialog, Card, Tabs, Select, Input, Textarea, Label, Separator, ScrollArea, Collapsible, Tooltip, Avatar, the Resizable* panel wrappers, and the workbench chrome's Menubar, DropdownMenu, ContextMenu, Command and Sonner's Toaster) plus the cn() class-merging helper.

Why it exists

shadcn/ui components are normally copied into each app's src/components/ui. Here they are one package, so every view package in the shell imports the same primitives and a fix lands everywhere at once. The package owns no slots and no commands.

How to use

pnpm add @statewalker/ui.view.shadcn

Peer dependencies: react and react-dom (>=18). The host needs Tailwind v4.

Import Provides
@statewalker/ui.view.shadcn The components and cn(); the default export is the fragment init
@statewalker/ui.view.shadcn/fragment Default export: an init(ctx) that does nothing and returns a no-op cleanup
@statewalker/ui.view.shadcn/styles src/styles.css: Tailwind v4 @source globs for the classes used in this package

Import the stylesheets once at boot. The theme variables come from @statewalker/ui.view.react:

import "@statewalker/ui.view.react/styles";
import "@statewalker/ui.view.shadcn/styles";

Examples

Button and Dialog
import {
  Button,
  Dialog,
  DialogContent,
  DialogHeader,
  DialogTitle,
  DialogTrigger,
} from "@statewalker/ui.view.shadcn";

<Dialog>
  <DialogTrigger asChild>
    <Button variant="outline" size="sm">Open</Button>
  </DialogTrigger>
  <DialogContent>
    <DialogHeader>
      <DialogTitle>Settings</DialogTitle>
    </DialogHeader>
  </DialogContent>
</Dialog>;

buttonVariants (class-variance-authority): variant is one of default | destructive | outline | secondary | ghost | link; size is one of default | xs | sm | lg | icon | icon-xs | icon-sm | icon-lg. asChild renders through a Radix Slot.

Resizable panels
import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "@statewalker/ui.view.shadcn";

<ResizablePanelGroup orientation="horizontal">
  <ResizablePanel defaultSize="20%" minSize="180px">{sidebar}</ResizablePanel>
  <ResizableHandle />
  <ResizablePanel>{main}</ResizablePanel>
</ResizablePanelGroup>;

ResizablePanelGroup wraps react-resizable-panels' Group, ResizablePanel is its Panel, ResizableHandle wraps its Separator. Props are the library's (v4).

cn()
import { cn } from "@statewalker/ui.view.shadcn";

cn("px-2 py-1", isActive && "bg-background", "px-3"); // "py-1 bg-background px-3"

cn is twMerge(clsx(...)): clsx resolves conditionals, tailwind-merge drops conflicting utilities so the last one wins.

Full export list

cn; AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger; Avatar, AvatarFallback, AvatarImage; Button, buttonVariants; Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle; Collapsible, CollapsibleContent, CollapsibleTrigger; Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger; Input; Label; Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut; ContextMenu, DropdownMenu and Menubar with their Content, Group, Item, Label, Portal, Separator, Shortcut, Sub, SubContent, SubTrigger parts (plus ContextMenuTrigger, DropdownMenuTrigger, MenubarMenu, MenubarTrigger); Toaster, ToasterProps, toast; ResizableHandle, ResizablePanel, ResizablePanelGroup; ScrollArea, ScrollBar; Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue; Separator; Tabs, TabsContent, TabsList, TabsTrigger; Textarea; Tooltip, TooltipContent, TooltipProvider, TooltipTrigger.

Internals

Components are colorless without the substrate theme

Components use semantic tokens (bg-primary, text-muted-foreground, border, ring). Their values are CSS variables defined in @statewalker/ui.view.react/styles, not here. Without that stylesheet the components render, but with no colors, borders or focus rings.

Classes missing from the host CSS

Tailwind v4 only emits classes it finds in scanned sources. If the host does not import @statewalker/ui.view.shadcn/styles (or otherwise add an @source for this package), components appear unstyled even though the theme is loaded.

Local extensions

The components follow upstream shadcn/ui. The extra Button sizes xs, icon-xs, icon-sm, icon-lg are added for dense UI such as dock tabs.

Dependencies
  • @radix-ui/*, radix-ui — accessible behavior behind each primitive.
  • react-resizable-panels — the Resizable* wrappers.
  • cmdk — Command*; sonner — Toaster and toast (Sonner injects its own stylesheet; Toaster colours it from the tokens).
  • class-variance-authority — buttonVariants and other variants.
  • clsx, tailwind-merge — cn().
  • lucide-react — icons inside some primitives.
  • @statewalker/shared-registry — declared but not imported by the source.

License

MIT

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 @statewalker/ui.view.shadcn

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

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?

Copy of Template Design OX Blog (1)
Research

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

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