# UI Components Quick Reference
## Most Common Patterns
### 📝 Form Field (Basic)
```html
```
### 📝 Required Field with Error
```html
```
### 📝 Read-Only Field
```html
```
### 🃏 Stats Card
```html
{% endblock %}
```
## Remember
1. Always use `dark:` variants for dark mode
2. Add `:disabled="saving"` to buttons during operations
3. Use `x-show` for conditional display
4. Use `x-text` for dynamic text
5. Use `x-html="$icon(...)"` for icons
6. Validation errors: `border-red-600` class
7. Helper text: `text-xs text-gray-600`
8. Error text: `text-xs text-red-600`
## Reference Page
Visit `/admin/components` for full component library with live examples!