# UX Writing Patterns
## Button Labels
```typescript
// Bad: Vague
// Good: Verb + Noun, shows outcome
```
## Error Messages
Formula: What happened → Why → How to fix
```typescript
// Bad
"Invalid input"
"Error 422"
// Good
"Please enter a valid email address"
"Password must be at least 8 characters"
```
## Empty States
Formula: Headline → Explanation → Action
```typescript
Clear Filters}
/>
```
## Form Labels
```typescript
```
## Loading States
```typescript
// Bad: "Loading..."
// Good: "Creating your account..." / "Uploading (2/5)..."
```
## Success Messages
```typescript
View Post}
/>
```
## Tooltips
```typescript
// Bad: Repeats label
// Good: Adds context
```
## Confirmation Dialogs
```typescript
```
## Placeholder Text
```typescript
// Bad: "Enter value"
// Good: "e.g., john@example.com"
```