New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

l2ui

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

l2ui

L2UI - 一个现代化的 React 组件库

alpha
latest
npmnpm
Version
0.1.0-alpha.8
Version published
Maintainers
1
Created
Source

l2ui

L2UI 主入口包,统一导出所有组件和工具。

安装

npm install l2ui
# 或
yarn add l2ui
# 或
pnpm add l2ui

使用

import React from 'react';
import { Button, ConfigProvider } from 'l2ui';

function App() {
  return (
    <ConfigProvider>
      <Button type="primary">点击我</Button>
    </ConfigProvider>
  );
}

组件

查看 组件文档 了解所有可用组件。

工具函数

import { isString, formatNumber } from 'l2ui';

主题

import { ConfigProvider, defaultTheme } from 'l2ui';

const customTheme = {
  ...defaultTheme,
  colors: {
    ...defaultTheme.colors,
    primary: '#your-color',
  },
};

<ConfigProvider theme={customTheme}>{/* 你的应用 */}</ConfigProvider>;

FAQs

Package last updated on 15 Dec 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