Giter VIP home page Giter VIP logo

ayushivashisth / flam-assignment Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 209 KB

The project utilizes React and the React Spring library to create a responsive bottom sheet interface. Users can open the sheet in three different sizes—small, half-screen, or full-screen—by clicking corresponding buttons.

Home Page: https://flam-frontend-assignment.vercel.app/

HTML 24.36% CSS 14.01% JavaScript 61.62%
css react render

flam-assignment's Introduction

🚀 React Button Sheet 🚀

The project utilizes React and the React Spring library to create a responsive bottom sheet interface. Users can open the sheet in three different sizes—small, half-screen, or full-screen—by clicking corresponding buttons. The bottom sheet's content is highly customizable, making it suitable for various use cases. React Spring ensures smooth animations and transitions. This project exemplifies best practices in React development and demonstrates the versatility of React components for creating interactive user interfaces

Live Demo 👉 Click here

Technologies Used

Frontend
react

Tools
github vscode

Deployment
vercel netlify

Features

  • Utilizes React Spring library for smooth animations and transitions.
  • Provides a dynamic bottom sheet interface.
  • Allows users to open the bottom sheet in three different sizes: small, half-screen, and full-screen.
  • Responsive design, adjusting to various screen sizes.
  • Customizable content inside the bottom sheet, including text and components.
  • Provides a close button to easily dismiss the bottom sheet.
  • Built using React.js and follows best practices to minimize re-renders for optimal performance.
  • Utilizes various libraries like react-spring and react-use-gesture for enhanced functionality.
  • Supports GPU-accelerated animations for improved user experience.
  • Suitable for use as a modal dialog requiring user interaction or as a floating bottom panel.
  • Smooth height transition with cubic-bezier easing for a polished look and feel.
  • These features combine to create a versatile and user-friendly React application with a dynamic and customizable bottom sheet interface.

Project Structure:

Key Features:

React-Based: The project is built using the React JavaScript library, a popular choice for building user interfaces. React allows for efficient component-based development, making it easier to manage and update the application's UI.

Dynamic Bottom Sheet: The main feature of this project is the dynamic bottom sheet. Users can interact with the application to open the bottom sheet in three different sizes: small, half-screen, and full-screen. This dynamic behavior enhances user engagement and flexibility.

React Spring Integration: React Spring is integrated into the project to handle animations and transitions. It ensures that the opening and closing of the bottom sheet are smooth and visually appealing. React Spring's animation capabilities are used to create a polished user interface.

Responsive Design: The application is designed to be responsive, ensuring that it functions well on various screen sizes and devices. Media queries and CSS styles adapt the layout and content for smaller screens.

Customizable Content: The content displayed in the bottom sheet is customizable. Users can replace the default content with their own information, making it versatile for different use cases.

Project Structure:

App.js: The main application component that manages the state of the bottom sheet (height) and renders buttons to control its size.

ButtomSheet.js: A component responsible for rendering the bottom sheet interface. It receives the height as a prop and displays customizable content.

BottomSheet.css: Contains the styles for the bottom sheet and its components, ensuring a visually appealing and consistent design.

Getting Started

  1. Clone the repository to your local machine.
  2. Set up the backend API using Express and Mongoose (provide instructions if necessary).
  3. Navigate to the project directory.
  4. Run npm install to install the required dependencies.
  5. Run npm start to start the development server.

Contribution Guidelines

We welcome contributions to the React Button Sheet project. If you have ideas for new features or find any bugs, please open an issue in the repository. Pull requests are also encouraged.

Show Your Support

If you find this project interesting or useful, please consider giving it a ⭐️.

<<<<<<< HEAD

🚀 Happy Exploring! 🌌

=======

🚀 Happy Exploring! 🌌

>>>>>>> e0a3b5544c2e2db77246291c1df864ce8866af8a

flam-assignment's People

Contributors

ayushivashisth avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.