App

Report Issue

An issue report card form with Area and Severity selects, a one-line subject and a details textarea, preset to Billing and Serious, ending in a Send report button.

Free, MIT licenseOpen in Browse
import { IssueReportForm } from "@/components/forms/issue-report-form"

// The copy: change text here, not in the markup.
const COPY = {
  title: "Report an issue",
  body: "Tell us what broke and how much it is in your way.",
} as const

const LABELS = {
  area: "Area",
  severity: "Severity",
  select: "Select",
  subject: "Subject",
  subjectPlaceholder: "One line, like “Invoice shows the wrong plan”",
  details: "What happened",
  detailsPlaceholder:
    "What you did, what you saw, and what you expected instead.",
  submit: "Send report",
} as const

const AREAS = [
  { value: "team", label: "Team" },
  { value: "billing", label: "Billing" },
  { value: "account", label: "Account" },
  { value: "deployments", label: "Deployments" },
  { value: "support", label: "Support" },
]

const SEVERITIES = [
  { value: "1", label: "Blocking" },
  { value: "2", label: "Serious" },
  { value: "3", label: "Annoying" },
  { value: "4", label: "Cosmetic" },
]

export default function ReportIssue() {
  return (
    <IssueReportForm
      title={COPY.title}
      description={COPY.body}
      areas={AREAS}
      severities={SEVERITIES}
      defaultArea="billing"
      defaultSeverity="2"
      labels={LABELS}
      className="mx-auto w-full max-w-sm"
    />
  )
}

Installation

pnpm dlx shadcn add @01orbital/report-issue
npx shadcn add @01orbital/report-issue
yarn shadcn add @01orbital/report-issue
bunx --bun shadcn add @01orbital/report-issue

Free under the MIT license. Add the @01orbital registry to components.json once (install guide), then run the command.

It lands at components/blocks/app/report-issue/index.tsx, as source you own and edit.

Usage

import ReportIssue from "@/components/blocks/app/report-issue"

export default function Example() {
  return <ReportIssue />
}

Dependencies

Registry pieces it installs with it:

  • issue-report-form