
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
lemon-design-xx
Advanced tools
A modern React component library built with MUI and TailwindCSS - lemon design system
一个基于 React + TailwindCSS 的现代组件库,使用 pnpm + Lerna 进行多包管理。
lemon-design/
├── packages/
│ ├── core/ # 核心组件库
│ ├── storybook/ # Storybook 文档
│ └── example/ # 示例应用
├── lerna.json # Lerna 配置
└── package.json # 根包配置
# 安装 pnpm (如果还没有安装)
npm install -g pnpm
# 安装所有依赖
pnpm install
# 启动所有包的开发服务器
pnpm dev
# 或者单独启动某个包
pnpm --filter @lemon-design/core dev
pnpm --filter @lemon-design/storybook storybook
pnpm --filter @lemon-design/example dev
# 构建所有包
pnpm build
# 构建特定包
pnpm --filter @lemon-design/core build
import { Button, Card, Input } from '@lemon-design/core';
function App() {
return (
<div>
<Button variant="primary">点击我</Button>
<Card title="卡片标题">
卡片内容
</Card>
<Input label="输入框" placeholder="请输入内容" />
</div>
);
}
支持多种变体和尺寸:
灵活的卡片组件:
原生输入框的增强版:
packages/core/src/components/ 中创建组件文件packages/core/src/index.ts 中导出组件packages/storybook/src/stories/ 中创建 Storybook 故事组件库使用 TailwindCSS 进行样式定制,可以在 tailwind.config.js 中修改主题配置:
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
primary: { /* 自定义主题色 */ },
// ...其他颜色
},
// ...其他主题配置
}
}
}
使用 Changesets 进行版本管理:
# 创建变更记录
pnpm changeset
# 更新版本
pnpm version-packages
# 发布
pnpm release
MIT License
FAQs
A modern React component library built with MUI and TailwindCSS - lemon design system
We found that lemon-design-xx demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.