hextastudio/ui needs your support to stay running 🫶 Help us
Feedback Rating
Animated Feedback rating component with icons and textarea.
Preview
Installation
tsx
import { FaRegSmileBeam } from "react-icons/fa";
import { FaRegSmile } from "react-icons/fa";
import { FaRegSadTear } from "react-icons/fa";
import { FaRegSadCry } from "react-icons/fa";
import { useRef, useEffect, useState } from "react";
const FeedbackRating = () => {
const [rating, setRating] = useState<number | null>(0);
const [feedbackActive, setFeedbackActive] = useState(false);