Skip to content

VanshAgrawal52/X-platform-clone

Repository files navigation

X (Twitter) Platform Clone

A modern, responsive clone of X (formerly Twitter) built with HTML, TailwindCSS, and Vite. This project features a pixel-perfect recreation of the X platform's user interface with dark mode support.

Features

  • 🎨 Responsive Design - Works seamlessly on mobile and desktop
  • 🌙 Dark Mode by Default
  • ⚡ Fast Development with Vite
  • 🎯 Pixel-Perfect UI Components
  • 📱 Modern Material Icons
  • 💅 TailwindCSS for Styling

Key Components

  • Responsive Sidebar Navigation
  • Interactive Post Creation Interface
  • "What's Happening" Section
  • "Who to Follow" Suggestions
  • Sticky Search Bar & Headers
  • Trending Topics Section
  • User Profile Section

Tech Stack

  • HTML5
  • TailwindCSS 3.4.1
  • Vite 5.0.11
  • Material Symbols Icons

Getting Started

  1. Clone the repository:
git clone https://github.com/VanshAgrawal52/x-platform-clone.git
cd x-platform-clone
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Build the TailwindCSS:
npm run build

The development server will start at http://localhost:5173

Development

  • npm run dev - Starts the Vite development server
  • npm run build - Builds and watches TailwindCSS changes

Project Structure

├── css/
│   ├── input.css    # TailwindCSS directives
│   └── output.css   # Compiled CSS
├── index.html       # Main HTML file
├── package.json     # Project dependencies
└── tailwind.config.js # TailwindCSS configuration

Contributing

Feel free to contribute to this project by creating issues or submitting pull requests.

License

This project is licensed under the ISC License.

Author

Vansh Agrawal

About

A modern clone of X (formerly Twitter) with responsive design and dark mode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors