
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
magic-design-react
Advanced tools
A component library that can achieve magic effects
你可以在 React 项目中引入本项目从而实现特定的魔法效果
pnpm add magic-design-react
引入基本样式
import 'magic-design-react/dist/magic-design-react.css';
默认支持 ESM 导出,可以被 tree-shaking 优化
import { Weather } from 'magic-design-react';
import React from 'react';
const Page: React.FC<void> = () => {
return (
<div className="Page">
<Weather />
</div>
);
};
export default Page;
magic-design-react
依赖 react
和 react-dom
,请确保你的项目中已经安装了这两个依赖。
持续更新中~有更好玩的需求欢迎提 issue 踢我
FAQs
A component library that can achieve magic effects
We found that magic-design-react demonstrated a not healthy version release cadence and project activity because the last version was released 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
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.