New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

wensity

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wensity

Wensity component registry CLI

Source
npmnpm
Version
0.1.11
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Wensity CLI

Install open-code components and UI primitives from the Wensity registry into your project. There is no @wensity/ui runtime dependency and no theme provider to wire up.

# Initialise (defaults: Tabler icons, medium radius)
npx wensity@latest init

# Or apply a shareable preset from https://ui.wensity.com/create-preset
npx wensity@latest init --preset <wsty1-code>
npx wensity@latest init --preset <wsty1-code> --template next

# Existing project — style + CSS only
npx wensity@latest apply --preset <wsty1-code>

# Inspect a code before applying
npx wensity@latest preset inspect <wsty1-code>

# Install a primitive or component
npx wensity@latest add button
npx wensity@latest add liquid-multimodal-input

Presets (primitives)

Generate a preset in the Create preset studio (guide: /docs/create-preset). Then run init --preset (new project) or apply --preset (existing). Settings land in wensity.json (style.iconLibrary, radius, fonts, control-solid colors) and a delimited --primitive-* CSS block in your Tailwind CSS file.

Later wensity add <primitive> / wensity update <primitive> reads that style automatically:

  • Colors, radius, and fonts re-apply into the CSS block
  • Tabler ↔ Lucide icon imports transform at install time for UI primitives only
  • Mandatory dependency swap installs exactly one icon package when icons are used

Plain init (no --preset) refuses to overwrite an existing wensity.json unless you pass --force. Prefer apply --preset for style-only updates; init --preset also merges style (+ CSS) without rewriting installed component source.

Commands

CommandPurpose
wensity init [--preset <code>] [--template next|vite|astro|react-router]Create / merge project config
wensity apply --preset <code>Apply style + CSS to an existing project
wensity preset inspect <code>Decode a preset code
wensity loginSave a dashboard API token for Pro
wensity logoutClear credentials
wensity whoamiShow current user / plan
wensity listList registry entries
wensity add <slug>Install source (skips existing files)
wensity update <slug>Re-download and overwrite local source
wensity versionPrint 0.1.9

Premium components and blocks require an API token from the Wensity dashboard. Tokens are stored at ~/.config/wensity/credentials.json with 0600 permissions.

CLI vs shadcn

Wensity CLIPublic shadcn registry (@wensity/*)
Stored presets (wensity.json style)YesNo
Lucide deliveryYes (CLI transform)No — Tabler-canonical payloads
Full editable sourceYesYes
@wensity/ui runtimeNeverNever
Premium /componentsToken + licenseNot exported

Docs: CLI reference · Create preset · Primitives

Keywords

wensity

FAQs

Package last updated on 03 Aug 2026

Related posts