Skip to Content

Issue Report Form

Issue report form card with area and severity selects, a subject input and a details textarea under monospace uppercase labels. Validates with react-hook-form and zod, sends FormData to a React action, then resets.

pnpm dlx shadcn add @01orbital/issue-report-form

Usage

import { IssueReportForm } from "@/components/forms/issue-report-form"

Needs props to render

Pass title, areas, severities, labels; see the API reference below.

Examples

New

issue-report-form-stationery

issue-report-form-stationery

Stationery

Bug report form example showing the IssueReportForm, styled like stationery with monospace labels over the area, severity, subject and details fields.

pnpm dlx shadcn add @01orbital/issue-report-form-stationery

API reference

A card with a form for reporting an issue: area, severity, subject and details. The area and severity fields sit side by side from the sm breakpoint.

Prop

Type

It also accepts the HTML attributes of the element it renders.

Dependencies

npm: @hookform/resolvers, cn, react-hook-form, zod. The CLI installs them for you.

Registry pieces it installs with it: