
Security News
PHP Foundation Says Chainguard Broke Security Embargo Ahead of Emergency Patches
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.
@wasser-ui/adapter-shadcn
Advanced tools
Optional shadcn registry adapter for Wasser UI.
This package provides:
shadcn is an adapter, not the Wasser core abstraction.
import { createWasserRegistry } from "@wasser-ui/core";
import { shadcnComponents } from "@wasser-ui/adapter-shadcn";
const registry = createWasserRegistry({
components: {
...shadcnComponents,
CustomerTable,
},
});
For project-local shadcn components, bind the adapter to the host app modules:
import { Button } from "@/components/ui/button";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
import { Accordion } from "@/components/ui/accordion";
import { createShadcnComponents } from "@wasser-ui/adapter-shadcn";
const shadcnComponents = createShadcnComponents({
components: {
Accordion,
Button,
Card,
CardContent,
CardHeader,
CardTitle,
},
});
The adapter includes generic Wasser registry entries for every shadcn/ui catalog
component, including components such as Accordion, Dialog, Sidebar,
Chart, Table, Calendar, Command, ToggleGroup, and DataTable.
Specialized entries such as Button, Card, Alert, Input, and Badge
keep tighter prop validation and Wasser runtime behavior.
Use the registry metadata helpers when publishing shadcn-compatible registry items:
import { createShadcnRegistryIndex, defineShadcnRegistryItem } from "@wasser-ui/adapter-shadcn";
const item = defineShadcnRegistryItem({
$schema: "https://ui.shadcn.com/schema/registry-item.json",
name: "customer-card",
type: "registry:block",
registryDependencies: ["card", "badge"],
files: [
{
path: "registry/customer-card/customer-card.tsx",
type: "registry:component",
target: "@components/customer-card.tsx",
},
],
});
const registry = createShadcnRegistryIndex({
name: "wasser-ui",
homepage: "https://example.com",
items: [item],
});
For tools that need to resolve registry file targets against components.json
aliases, use resolveShadcnRegistryTarget:
import { createShadcnAdapterConfig, resolveShadcnRegistryTarget } from "@wasser-ui/adapter-shadcn";
const config = createShadcnAdapterConfig({
aliases: {
components: "@/components",
hooks: "@/hooks",
lib: "@/lib",
ui: "@/components/ui",
},
});
resolveShadcnRegistryTarget(config, "@ui/ai/prompt-input.tsx");
// "@/components/ui/ai/prompt-input.tsx"
FAQs
Optional shadcn registry adapter for Wasser UI.
We found that @wasser-ui/adapter-shadcn demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.

Threat Research
/Security News
A supply chain attack compromised LiteLLM 1.107.0 on PyPI and Docker, spreading malware that steals cloud credentials, developer secrets, and AI provider keys.