Components
Comments

Comments

Collect qualitative feedback from your users.

Comments

import { Comments } from "@doclabs/react";
 
function Feedback() {
  const handleSuccess = () => {};
 
  return (
    <div className="flex gap-4">
      <Comments onSuccess={handleSuccess}>
        <Comments.Input placeholder="Tell us more..." />
        <button type="submit">Submit</button>
      </Comments>
    </div>
  );
}
Was this helpful?