@@ -114,6 +114,25 @@ The menu builder is partially implemented with the following components:
114
114
],
115
115
```
116
116
117
+ ## Development Guidelines
118
+
119
+ ### Use Existing Filament Components
120
+ ** IMPORTANT** : Always use existing Filament blade components and patterns instead of implementing custom HTML/CSS solutions.
121
+
122
+ - Use ` <x-filament::button> ` instead of custom button HTML
123
+ - Use ` <x-filament::badge> ` instead of custom badge styling
124
+ - Use ` <x-filament::icon> ` for consistent icon rendering
125
+ - Use Filament's built-in form components and actions
126
+ - Use Filament's existing patterns for modals, notifications, and UI elements
127
+ - Leverage Filament's color system, sizing, and theming capabilities
128
+
129
+ This ensures:
130
+ - Consistent styling across the application
131
+ - Automatic theme support (light/dark mode)
132
+ - Built-in accessibility features
133
+ - Future compatibility with Filament updates
134
+ - Reduced maintenance overhead
135
+
117
136
## Common Development Patterns
118
137
119
138
When extending this package:
@@ -122,4 +141,5 @@ When extending this package:
122
141
3 . Use the facade ` FilamentFlexibleContentBlockPages ` to access configuration
123
142
4 . SEO handling follows a fallback pattern: page SEO → hero image → default settings
124
143
5 . Route generation uses the configured route helper class
125
- 6 . Menu items follow the linkable pattern for polymorphic relationships
144
+ 6 . Menu items follow the linkable pattern for polymorphic relationships
145
+ 7 . ** Always prefer existing Filament components over custom implementations**
0 commit comments