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.8
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/docs/primitives/setup
# Preset support requires wensity 0.1.8 or later
npx wensity@latest init --preset <wsty1-code>

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

Presets (primitives)

Generate a preset on /docs/primitives/setup, then run the copied init --preset command once. 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. init --preset merges style (+ CSS) into an existing config without rewriting installed component source.

Commands

CommandPurpose
wensity init [--preset <code>]Create / merge project config
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.8

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 · Primitive setup · Primitives

FAQs

Package last updated on 14 Jul 2026

Related posts