# Feedback & Communication / Form Category Details
Category selection form with dropdown, file upload, and validation alerts
**Category:** Patterns
**Storybook:** https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-feedback-communication-form-category-details--introduction
## Pattern variants
- Form Category Details: https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-feedback-communication-form-category-details--form-category-details
## When to use this pattern
Use Feedback & Communication / Form Category Details 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 / Form Category Details. Each example shows the rendered HTML, the equivalent React JSX, and the Angular template markup.
### 1. Form Category Details — Category Details - Dropdown with Upload
HTML:
```html
Select your social category as per government records. Drop file here File type: PDF JPG PNG Max size: 5 MB
Select your social category as per government records. Drop file here File type: PDF JPG PNG Max size: 5 MB
error_outline
Select your social category as per government records. Drop file here File type: PDF JPG PNG Max size: 5 MB
Category Details
Category Details
Category Details
Category selection form with dropdown, file upload, and validation alerts
Social category selection dropdown with document upload area and additional document requirement alert.
Category selection form with dropdown, file upload, and validation alerts
Social category selection dropdown with document upload area and additional document requirement alert.
Category selection form with dropdown, file upload, and validation alerts
Social category selection dropdown with document upload area and additional document requirement alert.