UI 组件集合 - 基于 React 和 Framer Motion
npm install @ux-lib/componentsUI 组件集合,基于 React 和 Framer Motion 构建。
``bash`
pnpm add @ux-lib/components或
npm install @ux-lib/components或
yarn add @ux-lib/components
`tsx`
import { HoverEffect, Highlight, StickyContainer } from "@ux-lib/components";
`tsx`
import { HoverEffect } from "@ux-lib/components/hover-effect";
import { Highlight } from "@ux-lib/components/highlight";
import { StickyContainer } from "@ux-lib/components/sticky-container";
- React >= 18.0.0
- React DOM >= 18.0.0
- Framer Motion >= 11.0.0
- Tailwind CSS(需要在使用项目中配置)
`bash安装依赖
pnpm install
MIT