Socket
Book a DemoInstallSign in
Socket

manjui

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

manjui

Vue UI library & design system based on Nightshade UI (nightshade)

npmnpm
Version
1.1.0
Version published
Weekly downloads
9
-43.75%
Maintainers
1
Weekly downloads
 
Created
Source

Manjui

Vue UI library & design system based on Nightshade UI (nightshade).

Adds blocks and sections to the library to experiment with quicker landing page and website building.

These add ons are very experimental and still under development. So please use at your own risk.

Installation

NPM Package (when published)

npm install manjui

Local Development / Monorepo Usage

For monorepo setups or local development, you can use a file reference in your package.json:

{
  "dependencies": {
    "manjui": "file:../../libs/manjui"
  }
}

Then run:

npm install

Usage

1. Import Components and Styles

// In your main app file (e.g., app.ts or main.ts)
import * as manjuiComponents from 'manjui';

// Import manjui styles
import 'manjui/stylesheets/variables.css';
import 'manjui/stylesheets/baseline.css';

// Register components globally (Vue 3 example)
const app = createApp(App);

for (const [name, component] of Object.entries(manjuiComponents.components || {})) {
    app.component(name, component);
}

2. Use Components in Templates

<template>
  <VGroup gap="2">
    <Title>Welcome to Manjui</Title>
    <Text>A Vue UI library for rapid development</Text>
    <Divider />
    <HGroup gap="1">
      <Btn>Primary</Btn>
      <Btn variant="secondary">Secondary</Btn>
    </HGroup>
  </VGroup>
</template>

3. Available Components

  • Layout: VGroup, HGroup, HStack, Sizer
  • Typography: Title, Subtitle, Text, Link
  • Form: InputText, InputBase
  • UI Elements: Btn, Tab, TabCap, Icon, Image, Circle, Divider

4. Styling

Manjui uses CSS custom properties for theming. The main style files to import are:

  • manjui/stylesheets/variables.css - Core design tokens
  • manjui/stylesheets/baseline.css - Base styles and resets
  • manjui/stylesheets/full.css - Complete stylesheet (alternative to importing separately)

Development

# Install dependencies
npm install

# Run development server
npm run dev

# Build library
npm run build

# Lint code
npm run lint

Acknowledgments

This project is based on the Nightshade library by Boris Okunskiy.

Name is inspired by Manjū, my German Shepherd dog.

FAQs

Package last updated on 22 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts