A modern React UI component library for social media display with semantic colors and DaisyUI integration.
详细的技术文档和使用指南请查看 docs/ 目录:
pnpm i @ui2someone/react
"use client";
import { WeChatOfficialAccountCard } from "@ui2someone/react";
export default function Abc() {
return (
<div className="flex h-screen flex-col items-center justify-center">
<WeChatOfficialAccountCard />
</div>
);
}
# 进入 UI 包目录
cd packages/ui
# 自动生成组件的 Storybook Stories
pnpm generate:stories
# 启动 Storybook 开发服务
pnpm storybook
# 终端 1: 启动 Stories 自动生成监听
cd packages/ui && pnpm watch:stories
# 终端 2: 启动 Storybook
cd packages/ui && pnpm storybook
- 🎨 Semantic Colors: Built-in semantic color system
- 🎯 DaisyUI Integration: Seamless DaisyUI component integration
- 📱 Social Media Cards: Ready-to-use social media profile cards
- 🛍️ E-commerce Cards: Product and store display cards
- 📞 Contact Cards: Various contact information cards
- 🎭 TypeScript: Full TypeScript support
- ⚡ Tailwind CSS: Powered by Tailwind CSS
- 📖 Storybook: Interactive component documentation
- WeChat Official Account Card
- WeChat Contact Card
- X (Twitter) Profile Card
- LinkedIn Profile Card
- Facebook Profile Card
- Weibo Profile Card
- Bilibili Profile Card
- YouTube Channel Card
- Twitch Live Room Card
- WhatsApp Contact Card
- Line Contact Card
- Jike Profile Card
- Taobao Store Card
- Stripe Product Card
- vCard Contact Card
Visit our documentation for detailed guides and examples.
We welcome contributions! Please see our contributing guide for details.
MIT License - see LICENSE for details.