Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/royquilor/twitter-ui-practise
Twitter UI is a beast to style. Practise with Next JS, Tailwind CSS, Radix UI and Storybook.
https://github.com/royquilor/twitter-ui-practise
nextjs prettier radix-ui storybook tailwindcss typescript vercel
Last synced: 5 minutes ago
JSON representation
Twitter UI is a beast to style. Practise with Next JS, Tailwind CSS, Radix UI and Storybook.
- Host: GitHub
- URL: https://github.com/royquilor/twitter-ui-practise
- Owner: royquilor
- License: mit
- Created: 2023-01-13T12:29:53.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-24T11:29:58.000Z (almost 2 years ago)
- Last Synced: 2025-01-16T00:33:58.955Z (7 days ago)
- Topics: nextjs, prettier, radix-ui, storybook, tailwindcss, typescript, vercel
- Language: TypeScript
- Homepage: https://twitter-ui-practise.vercel.app/
- Size: 792 KB
- Stars: 255
- Watchers: 2
- Forks: 52
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Twitter UI practice clone
The goal of this project is to learn about Next JS. My background is a Web Designer with experience in HTML and Tailwind CSS with some basic JavaScript knowledge. I ended up trying to recreate the homepage UI of the Twitter app. It's far from the original and I'm sure there are many flaws. Any suggestions or improvements, please let me know. The main thing is to have fun and learn something new, hopefully you can too.
https://user-images.githubusercontent.com/2366186/213792809-21e54048-91da-4ed0-881e-23544c036891.mp4
## Getting Started
When you git clone the repository
```bash
npm install
npm run dev
```Checkout storybook to view components in isolation
```bash
npm run storybook
```## Issues
The right side panel does not follow the same behavior as Twitter. As you scroll, it sticks but you should be able to see the footer links.## Stack
- [Next.js](https://nextjs.org/)
- [Tailwind CSS](https://tailwindcss.com/)
- [Radix](https://www.radix-ui.com/)
- [Storybook](https://storybook.js.org/)
- [Vercel](https://vercel.com/)## Resources
People I followed and checked out their repositories and videos to build the clone.
- [Tru Narla](https://github.com/tnarla)
- [Colby Fayock](https://github.com/colbyfayock)
- [Steven Tey](https://github.com/steven-tey)
- [Lee Rob](https://github.com/leerob)
- [Florentin](https://github.com/ecklf)## What is that?
If you checkout the package.json, let me try and explain a few
- class-variance-authority: enables you to create variants for things like buttons. If you are a designer, it is like Figma's component variants.
- classnames: If you style a component such as Radix UI components, you can have a long line of css utility classes when you use Tailwind CSS. You might have hover, animation, responsive, layout and other classes. Now you can group them on separate lines.## Text component
[Text component youtube video](https://www.youtube.com/watch?v=b1NEj8HG1yU) - currently testing
## Storybook
[Storybook addon next](https://storybook.js.org/addons/storybook-addon-next)
### Misc
- [Reusable button component](https://omkarkulkarni.vercel.app/snippets/reusable-button-component)
- [Absolute imports](https://omkarkulkarni.vercel.app/snippets/absolute-imports)## Author
[Roy Quilor](https://github.com/royquilor)
## Connect
- [🐦 Follow me on Twitter](https://twitter.com/RoyQuilor)
- [📺 Subscribe on YouTube](https://www.youtube.com/c/readydesignerone)