New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@univerjs/design

Package Overview
Dependencies
Maintainers
0
Versions
249
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@univerjs/design

UI component library for building exceptional Univer.

  • 0.4.0-nightly.202410141606
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
504
decreased by-88.02%
Maintainers
0
Weekly downloads
 
Created
Source

@univerjs/design

Package Overview

Package NameUMD NamespaceVersionLicenseDownloadsContains CSSContains i18n locales
@univerjs/designUniverDesign⭕️⭕️

Introduction

To ensure better consistency in the UI of Univer plugins and to reduce the effort required for custom development, we provide some fundamental design guidelines and components.

The components are developed using React and less, and you can find out more information by visiting the component library website.

:::note If you only need to extend the toolbar, context menu, and so on, you can directly use the extension interfaces provided by @univerjs/ui without implementing the UI yourself. For more information, please refer to Extending UI. :::

Usage

Installation

# Using npm
npm install @univerjs/design

# Using pnpm
pnpm add @univerjs/design

This package contains CSS and has the highest priority. Please import it before importing any other Univer style files.

Built-in themes

The package provides two built-in themes: defaultTheme and greenTheme. You can import them directly and use them in your application.

import { defaultTheme } from '@univerjs/design';
// import { greenTheme } from '@univerjs/design';

// Use the default theme
new Univer({
    theme: defaultTheme,
    // theme: greenTheme,
});

Keywords

FAQs

Package last updated on 14 Oct 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc