https://github.com/sanyashresta25/order-summary
A responsive and elegant Order Summary card built with React, TypeScript, and Tailwind CSS. Clean UI, SVG wave background, and mobile-first design.
https://github.com/sanyashresta25/order-summary
props react-tsx tailwind-css vite
Last synced: about 2 months ago
JSON representation
A responsive and elegant Order Summary card built with React, TypeScript, and Tailwind CSS. Clean UI, SVG wave background, and mobile-first design.
- Host: GitHub
- URL: https://github.com/sanyashresta25/order-summary
- Owner: SanyaShresta25
- Created: 2025-06-17T06:58:39.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-17T07:05:54.000Z (about 1 year ago)
- Last Synced: 2025-06-17T08:18:51.698Z (about 1 year ago)
- Topics: props, react-tsx, tailwind-css, vite
- Language: TypeScript
- Homepage: https://order-summary-snowy.vercel.app
- Size: 118 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π³ Order Summary Card
A clean and elegant order summary card built with **React + TypeScript** and **Tailwind CSS**. This component is fully responsive and uses modern styling practices to deliver a smooth UI experience.
## π Live Demo
- π **Live Site URL**: [View it in action](https://order-summary-snowy.vercel.app/)
- π» **Solution URL**: [See the code](https://github.com/SanyaShresta25/Order-Summary)
## πΈ Screenshot

## π§± Built With
- βοΈ **React** (with TypeScript) β Functional components and prop-driven design
- π¨ **Tailwind CSS** β Utility-first styling with responsive design baked in
- π± Mobile-first responsive design approach
## β¨ Features
- πΌοΈ Hero image at the top
- π Order summary with plan details
- π βChange Planβ functionality placeholder
- β
Responsive layout for mobile & desktop
- π΅ Music icon and custom background wave pattern
## π§ What I Learned
- How to create **reusable functional components** in React using props
- Using **inline SVGs as background images** with Tailwind styling
- Implementing **mobile-first responsive UI** with Tailwind's utility classes
- Structuring code in a clean, maintainable format with clear comments
## π§ How to Use
```bash
# Clone the repo
git clone https://github.com/SanyaShresta25/my-app.git
cd my-app
# Install dependencies
npm install
# Run the app
npm run dev
```
## π Future Enhancements
- Add support for multiple pricing plans
- Animate card transitions (e.g., when selecting a plan)
- Improve accessibility (ARIA roles, keyboard navigation)
## π Useful Resources
- [Tailwind CSS Docs](https://tailwindcss.com/docs)
- [React TypeScript Cheatsheet](https://react-typescript-cheatsheet.netlify.app/)
- [MDN Web Docs: Using data URIs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs)
## π©βπ» Author
- **Portfolio** β [Sanya Shresta Jathanna](https://sanyashresta.netlify.app/)
- **GitHub** β [@SanyaShresta25](https://github.com/SanyaShresta25)
- **Frontend Mentor** β [@SanyaShresta25](https://www.frontendmentor.io/profile/SanyaShresta25)
## π Acknowledgments
- Inspired by [Frontend Mentor β Order Summary Card Challenge](https://www.frontendmentor.io/challenges/order-summary-component-QlPmajDUj)
- Shoutout to the dev community for Tailwind tips and best practices!