{"id":13519258,"url":"https://github.com/dulajkavinda/minimal-feedback","last_synced_at":"2025-06-14T05:36:12.239Z","repository":{"id":40515603,"uuid":"335021100","full_name":"dulajkavinda/minimal-feedback","owner":"dulajkavinda","description":"🗳  Blazingly fast and highly customizable component to get user feedback.","archived":false,"fork":false,"pushed_at":"2022-10-01T15:39:38.000Z","size":3361,"stargazers_count":105,"open_issues_count":1,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T08:53:34.108Z","etag":null,"topics":["added","bootstrap","featured","feedback","latest","minimal","npm","npm-package","open-source","react","react-components","reactui"],"latest_commit_sha":null,"homepage":"https://dulajkavinda.github.io/minimal-feedback/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dulajkavinda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-01T16:59:22.000Z","updated_at":"2024-11-30T05:44:35.000Z","dependencies_parsed_at":"2022-09-01T06:40:15.010Z","dependency_job_id":null,"html_url":"https://github.com/dulajkavinda/minimal-feedback","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dulajkavinda%2Fminimal-feedback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dulajkavinda%2Fminimal-feedback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dulajkavinda%2Fminimal-feedback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dulajkavinda%2Fminimal-feedback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dulajkavinda","download_url":"https://codeload.github.com/dulajkavinda/minimal-feedback/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245917008,"owners_count":20693446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["added","bootstrap","featured","feedback","latest","minimal","npm","npm-package","open-source","react","react-components","reactui"],"created_at":"2024-08-01T05:01:56.488Z","updated_at":"2025-03-29T21:30:57.003Z","avatar_url":"https://github.com/dulajkavinda.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# minmal-feedback\n\n[![NPM](https://img.shields.io/npm/v/minimal-feedback.svg)](https://www.npmjs.com/package/minimal-feedback) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) [ ![downloads](https://img.shields.io/npm/dt/minimal-feedback.svg)](https://www.npmjs.com/package/minimal-feedback)\n\n**minimal-feedback** is a blazingly fast and highly customizable component to get user feedback.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"50%\" src=\"src/demo.gif\" alt=\"animated\" /\u003e\n\u003c/p\u003e\n\n### Live Demo\n\n---\n\n[Live Demo at minimal-feedback](https://dulajkavinda.github.io/minimal-feedback/)\n\n### Why\n\n---\n\nI needed a \"feedback component\" for my projects. Since I was unable to find one which met my requirements which is very minimal looking and user friendly ui this is what i came up with.\n\n### Installation\n\n---\n\nThe preferred way of using the component is via NPM\n\n```bash\nnpm install --save minimal-feedback\n```\n\n### Usage\n\n---\n\nHere's a sample implementation that creates a custom popup on a dummy Create-React-App page.\n\n```jsx\nimport React, { useState } from 'react'\n\nimport MinimalFeedback from 'minimal-feedback'\nimport 'minimal-feedback/dist/index.css' // don't forget to import css\n\nconst App = () =\u003e {\n  const [text, settext] = useState({ feedback: '' })\n\n  const saveFeedback = () =\u003e {\n    // logic here\n    console.log(text)\n  }\n\n  return (\n    \u003cMinimalFeedback\n      save={saveFeedback}\n      value={text}\n      onChange={(e) =\u003e settext(e)}\n    /\u003e\n  )\n}\n\nexport default App\n```\n\n### Options\n\n---\n\n| Option                  | Type       | Default                   | Description                                                |\n| ----------------------- | ---------- | ------------------------- | ---------------------------------------------------------- |\n| [`value`](#value)       | `Object`   | `{ feedback:'', type:''}` | Set this to the value you get from the `onChange` function |\n| [`onChange`](#onChange) | `Function` | `()`                      | Called when user is typing something                       |\n| [`save`](#save)         | `Function` | `()`                      | Called when `submit button` is clicked                     |\n\n### Sample Usage\n\n```jsx\n\u003cMinimalFeedback\n  save={saveFeedback}\n  value={text}\n  onChange={(e) =\u003e settext(e)}\n/\u003e\n```\n\n### Dev\n\n---\n\nThe component is written in ES6 and uses [Webpack](http://webpack.github.io/) as its build tool.\n\n#### Set up instructions\n\n---\n\n```\ngit clone https://github.com/dulajkavinda/minimal-feedback.git\ncd minimal-feedback\nnpm install\nnpm start\n```\n\n### Contributing\n\n---\n\nGot ideas on how to make this better? Open an issue [here!](https://github.com/dulajkavinda/minimal-feedback/issues)\nIssues, Pull Requests and all Comments are welcome!\n\n## License\n\nMIT © [dulajkavinda](https://github.com/dulajkavinda/minimal-feedback/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdulajkavinda%2Fminimal-feedback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdulajkavinda%2Fminimal-feedback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdulajkavinda%2Fminimal-feedback/lists"}