Skip to content

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.

Notifications You must be signed in to change notification settings

AyushiVashisth/flam-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 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

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published