Skip to content
项目

关于

Clone of Discord UI remaking components with Next.js 16 and Tailwind CSS

网站与应用开发

这些数字如何统计

可以做什么

  • Friends page with Online, All, Pending and Blocked tabs, plus name search
  • Accept or decline incoming friend requests, and send new ones from the Add Friend tab
  • Direct message list: open a conversation from a friend, the "Choose friends" popover or the Active Now panel, and remove conversations from the list
  • Conversation view with the recipient's profile, add or remove friend, and local message sending

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Rediscord - Next.js and Tailwind CSS

Rediscord_banner

Rediscord is a study of Discord UI built in NextJS and TailwindCSS using some shadcn concepts and components showing how powerful are these libs and how they can replicate a specific design and complex UI.

Preview

This project is being developed and isn't completed yet. Currently only frontend and some mock data. Feel free to request or contribute.

Features

All data is client-side mock data, so changes reset on reload.

  • Friends page with Online, All, Pending and Blocked tabs, plus name search
  • Accept or decline incoming friend requests, and send new ones from the Add Friend tab
  • Direct message list: open a conversation from a friend, the "Choose friends" popover or the Active Now panel, and remove conversations from the list
  • Conversation view with the recipient's profile, add or remove friend, and local message sending
  • Active Now panel with friends' current activities
  • Server sidebar with tooltips
  • Quick switcher modal (Ctrl+K / Cmd+K)
  • User panel: change online status, set a custom status, mute and deafen
  • Skeleton loading states while the demo "loads"

Running locally

Requires Node.js 20.9 or later.

  1. Clone the repository
git clone https://github.com/igorm84/rediscord
  1. Install dependencies
npm ci
  1. Start development server
npm run dev
  1. Experiment with it :)

Validation

npm run lint
npm run typecheck
npm run build
npm test

npm test runs the unit tests (state, navigation and custom status helpers) with Bun, so Bun must be installed. They need no additional test dependencies.

Tailwind stays on version 3 to preserve the existing design. The postcss-selector-parser override uses the patched parser with Tailwind's existing PostCSS pipeline.

Youtube

Josh made an amazing video pointing it out: https://www.youtube.com/watch?v=RmucrDgc_Yw&t=27s

maxresdefault

License

The code in this repository is available under the MIT License.

This is a study project based on the Discord UI, so Discord owns the design and it needs to be respected (see more). The MIT License covers this implementation only, not Discord's design, name or brand assets.

探索相关项目

加载中…