# Feedback & Communication / File Complaint
File a complaint form with category selection, description, and optional file upload.
**Category:** Patterns
**Storybook:** https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-feedback-communication-file-complaint--introduction
## Pattern variants
- File Complaint: https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-feedback-communication-file-complaint--file-complaint
## When to use this pattern
Use Feedback & Communication / File Complaint when building citizen-facing flows that match the described government journey. Combine components such as cards, forms, tables, buttons, and status indicators as shown in Storybook.
## Framework setup
### HTML / CDN
```html
```
### React
```bash
npm install ux4g-web-components
```
```jsx
import 'ux4g-web-components/styles.css';
import 'ux4g-web-components/design-system';
```
### Angular
Update `angular.json`:
```json
{
"styles": [
"node_modules/ux4g-web-components/styles/ux4g.css",
"src/styles.css"
],
"scripts": [
"node_modules/ux4g-web-components/dist/runtime/design-system.js"
]
}
```
## Code examples
The snippets below are extracted from the Storybook canvas for Feedback & Communication / File Complaint. Each example shows the rendered HTML, the equivalent React JSX, and the Angular template markup.
### 1. File Complaint — File Complaint
HTML:
```html
Report a portal issue — we will respond within 2 working days. Report a portal issue — we will respond within 2 working days. Report a portal issue — we will respond within 2 working days.File a complaint
File a complaint
File a complaint
File a complaint form with category selection, description, and optional file upload.
Complaint filing form with service selection, description, and document attachment.
File a complaint form with category selection, description, and optional file upload.
Complaint filing form with service selection, description, and document attachment.
File a complaint form with category selection, description, and optional file upload.
Complaint filing form with service selection, description, and document attachment.