Skip to content
OTF Kit logoOTF Kit

Feedback Modal

Feedback

Send-feedback modal with category selector and optional screenshot attachment.

View in Storybook
Feedback Modal
Loading Storybook preview…

Installation

bun add @otfdashkit/ui

Usage

Import Feedback Modal from @otfdashkit/ui.

Code
// Feedback Modal — Send-feedback modal with category selector and optional screenshot attachment.
//
// Install:
//   bun add @otfdashkit/ui

import { FeedbackModal } from '@otfdashkit/ui'

export function Example() {
  return (
    <FeedbackModal>
      {/* your content */}
    </FeedbackModal>
  )
}

Props

Props declared in the FeedbackModal source. Inherited HTML attributes are not listed.

PropTypeDefaultDescription
classNamestring
onSubmit(data: { reaction: string; text: string; }) => void

Related