Issue Report Form
manifest-ui/issue-report-formFreeBlock
A compact issue reporting form for team members with categories, impact/urgency levels, and file attachments.
Install it
npx shadcn@latest add https://ui.manifest.build/r/issue-report-form.jsonSource
1'use client'23import { Button } from '@/components/ui/button'4import { Input } from '@/components/ui/input'5import { Label } from '@/components/ui/label'6import {7 Select,8 SelectContent,9 SelectItem,10 SelectTrigger,11 SelectValue12} from '@/components/ui/select'13import { cn } from '@/lib/utils'14import { demoIssueReportFormData } from './demo/form'15import { ChevronDown, ChevronUp, Paperclip, Send, X } from 'lucide-react'16import { useRef, useState } from 'react'171819/**20 * ═══════════════════════════════════════════════════════════════════════════21 * IssueReportFormProps22 * ═══════════════════════════════════════════════════════════════════════════23 *24 * Props for the IssueReportForm component for IT support, help desk, or25 * internal ticketing systems.26 */27export interface IssueReportFormProps {28 data?: {29 /** Form title displayed at the top. */30 title?: string31 /** List of team options for the dropdown. */32 teams?: string[]33 /** List of location options. */34 locations?: string[]35 /** Category to subcategory mapping. */36 categories?: Record<string, string[]>37 /** Impact level options. */38 impacts?: { value: string; label: string }[]39 /** Urgency level options. */40 urgencies?: { value: string; label: string }[]41 /** Frequency options. */42 frequencies?: { value: string; label: string }[]43 /** Pre-defined actions user may have tried. */44 attemptedActions?: string[]45 }46 actions?: {47 /** Called when the form is submitted. */48 onSubmit?: (formData: IssueFormData) => void49 }50 appearance?: {51 /**52 * Whether to display the title.53 * @default true54 */55 showTitle?: boolean56 /**57 * Use compact layout.58 * @default true59 */60 compactMode?: boolean61 }62}6364/**65 * Data structure representing an issue report submission.66 * @interface IssueFormData67 * @property {string} declarantName - Name of the person reporting the issue68 * @property {string} email - Contact email for follow-up69 * @property {string} team - Department or team affected70 * @property {string} location - Office location71 * @property {string} office - Specific office or area identifier72// … truncated
What it pulls in
npm packages
Other registry items
Files it writes
More from Manifest UI
All 32 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Amount Inputamount-input | Manifest UI | Blocks | Free | 1 dep · 2 files | |
| Chat Conversationchat-conversation | Manifest UI | Blocks | Free | 1 dep · 3 files | |
| Contact Formcontact-form | Manifest UI | Blocks | Free | 1 dep · 3 files | |
| Date & Time Pickerdate-time-picker | Manifest UI | Blocks | Free | 1 dep · 2 files | |
| Event Cardevent-card | Manifest UI | Blocks | Free | 1 dep · 2 files | |
| Event Confirmationevent-confirmation | Manifest UI | Blocks | Free | 1 dep · 2 files | |
| Event Detailevent-detail | Manifest UI | Blocks | Free | 3 deps · 2 files | |
| Event Listevent-list | Manifest UI | Blocks | Free | 3 deps · 2 files |
