RepositoryJavaScript
dulajkavinda

dulajkavinda/minimal-feedback

🗳 Blazingly fast and highly customizable component to get user feedback.

108stars
9forks
1issues
0views

minmal-feedback

NPM JavaScript Style Guide downloads

minimal-feedback is a blazingly fast and highly customizable component to get user feedback.

animated

Live Demo


Live Demo at minimal-feedback

Why


I 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.

Installation


The preferred way of using the component is via NPM

npm install --save minimal-feedback

Usage


Here's a sample implementation that creates a custom popup on a dummy Create-React-App page.

import React, { useState } from 'react'

import MinimalFeedback from 'minimal-feedback'
import 'minimal-feedback/dist/index.css' // don't forget to import css

const App = () => {
  const [text, settext] = useState({ feedback: '' })

  const saveFeedback = () => {
    // logic here
    console.log(text)
  }

  return (
    <MinimalFeedback
      save={saveFeedback}
      value={text}
      onChange={(e) => settext(e)}
    />
  )
}

export default App

Options


OptionTypeDefaultDescription
valueObject{ feedback:'', type:''}Set this to the value you get from the onChange function
onChangeFunction()Called when user is typing something
saveFunction()Called when submit button is clicked

Sample Usage

<MinimalFeedback
  save={saveFeedback}
  value={text}
  onChange={(e) => settext(e)}
/>

Dev


The component is written in ES6 and uses Webpack as its build tool.

Set up instructions


git clone https://github.com/dulajkavinda/minimal-feedback.git
cd minimal-feedback
npm install
npm start

Contributing


Got ideas on how to make this better? Open an issue here! Issues, Pull Requests and all Comments are welcome!

License

MIT © dulajkavinda

Similar Projects

Discover other similar projects and AI models.

RepositoryJavaScript
mui/material-ui

Material UI: Comprehensive React component library that implements Google's Material Design. Free forever.

99.4k
Nov 29, 2026
RepositoryJavaScript
sindresorhus/np

A better `npm publish`

7.7k
Oct 24, 2026
RepositoryJavaScript
0wczar/airframe-react

Free Open Source High Quality Dashboard based on Bootstrap 4 & React 16: https://airframe-react-lime.vercel.app

4.0k
Apr 4, 2025
RepositoryJavaScript
aeonfun/opendia

Connect your browser to AI models. Just use Dia on Chrome, Arc or Firefox.

1.9k
Nov 28, 2026
RepositoryJavaScript
lawnstarter/react-native-picker-select

🔽 A Picker component for React Native which emulates the native <select> interfaces for iOS and Android

1.8k
Jul 20, 2026
RepositoryJavaScript
react/react

The library for web and native user interfaces.

253.0k
Nov 30, 2026
RepositoryJavaScript
vercel/next.js

The React Framework

143.9k
Dec 1, 2026
RepositoryJavaScript
vercel/next.js

The React Framework

143.9k
Dec 1, 2026
RepositoryRust
oven-sh/bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

97.1k
Nov 29, 2026