Skip to content

A simple UI micro-interaction for a feedback widget built using Vite, Framer Motion, and Web Components.

Notifications You must be signed in to change notification settings

blyncnov/fluid-feedback-widget

Repository files navigation

Feedback Widget UI Micro-Interaction

This project is a simple UI micro-interaction for a feedback widget built using Vite, Framer Motion, and Web Components. The widget provides a seamless and engaging way for users to give feedback on a website or application.

Features

  • Smooth Animations: Leveraging Framer Motion for fluid and responsive animations.
  • Web Components: Built using modern Web Components for encapsulation and reusability.
  • Vite-Powered: Fast development and build environment powered by Vite.

Technologies Used

  • Vite: A fast build tool that provides a great development experience.
  • Framer Motion: A powerful animation library for React, used here to create smooth and interactive animations.
  • Web Components: Custom HTML elements encapsulating functionality, ensuring modularity and reusability.

Installation

To get started with the project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/feedback-widget.git
    cd feedback-widget
  2. Install dependencies:

    npm install

    or, if using Yarn:

    yarn install

    or, if using Bun:

    bun install
  3. Start the development server:

    npm run dev

    or, if using Yarn:

    yarn dev

    or, if using Bun:

    bun run dev

Usage

Once the development server is running, you can view the feedback widget by navigating to http://localhost:5173 in your browser. The widget will display a button that triggers the feedback form with smooth animations when clicked.

Project Structure

├── public/          # Static assets
├── src/
│   ├── assets/  # Public Images
│   ├── components/  # Feedback Components
│   ├── screen/  # Feedback Screens
│   ├── App.tsx      # Main application component
│   ├── web-componnets.tsx      # Custom Web Component
│   └── main.tsx      # Entry point
├── index.html       # Main HTML file
└── vite.config.ts   # Vite configuration

Customization

You can customize the widget by modifying the Web Components and Framer Motion animations in the src/components and src/screens directories. The configuration is designed to be modular and easily adjustable.

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request with your improvements.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

  • Framer Motion for the amazing animation library.
  • Vite for providing a fast and modern development environment.

About

A simple UI micro-interaction for a feedback widget built using Vite, Framer Motion, and Web Components.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published