开源推荐
morning
GitHub 热门项目:8bitcn-ui
摘要
GitHub项目:8bitcn-ui 仓库地址:https://github.com/TheOrcDev/8bitcn-ui Stars:2014 | 作者:TheOrcDev 项目描述:A set of retro-designed, accessible components and a code distribution platform. Open Source. Open Code. =...
the
your
8bitcn
components
and
Open
https
TheOrcDev
Source
project
2026-09-02
1 阅读
约2分钟阅读
GitHub Trending
字号:
GitHub 项目:8bitcn-ui
仓库地址:https://github.com/TheOrcDev/8bitcn-ui
明星:2014 | 作者:TheOrcDev
项目描述:一组复古设计的、可访问的组件和一个代码分发平台。开源。打开代码。
===================================================
自述文件内容:
## 贡献
请阅读[贡献指南](/contributing.md)。
### 使用示例
要将“button”组件添加到您的项目中,请运行以下命令:
````bash
pnpm dlx shadcn@latest 添加@8bitcn/button
````
安装后,您可以在文件中导入并使用该组件:
``打字稿
从“@/components/ui/8bit”导入{按钮};
导出默认函数 App() {
return ;
}
````
**注意:** 导入路径 `@/components/ui/8bit` 假设您的项目配置了路径别名(在 Next.js 和类似框架中常见)。如果需要,调整路径以匹配您的项目结构。
## 明星历史
[](https://repostars.dev/?repos=TheOrcDev%2F8bitcn-ui&theme=terminal)
这篇文章对您有帮助吗?
订阅66必读
每日精选科技资讯,直达你的邮箱
图片>