Skip to content

Commit 46a7fd7

Browse files
authored
Merge pull request #780 from leandrocfe/v4-article-add-screenshots
V4 article - Add screenshots
2 parents 7e2d6fa + 6d881be commit 46a7fd7

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

content/articles/leandrocfe-filament-v4-beta-feature-overview.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ If you need to refresh them — for example, after a setting or permission chang
145145
They let you build user interfaces in PHP using structured configuration objects—no need to write `HTML` or `JavaScript` manually.
146146
These schemas define how your UI looks and behaves, representing components such as [forms fields](https://filamentphp.com/docs/4.x/forms/overview), [infolist entries](https://filamentphp.com/docs/4.x/infolists/overview), [layout components](https://filamentphp.com/docs/4.x/schemas/layouts) and [prime components](https://filamentphp.com/docs/4.x/schemas/primes).
147147

148+
![Schemas](https://filamentphp.com/docs/4.x/images/light/schemas/overview/example.jpg)
149+
148150
Every Filament UI component — whether it's a form field, a description list, or a static element like text or buttons — is configured through a [schema](https://filamentphp.com/docs/4.x/schemas/overview).
149151
Components are modular, nestable, and reusable, making your interfaces consistent and easy to maintain.
150152

@@ -158,6 +160,8 @@ For a full list of available components, see the [Schemas documentation](https:/
158160

159161
You can now switch to a [vertical tab](https://filamentphp.com/docs/4.x/schemas/tabs#using-vertical-tabs) layout by calling the `vertical()` method.
160162

163+
![Vertical tabs](https://filamentphp.com/docs/4.x/images/light/schemas/layout/tabs/simple.jpg)
164+
161165
### Container queries
162166

163167
In addition to traditional breakpoints based on the size of the viewport, you can also use [container queries](https://filamentphp.com/docs/4.x/schemas/layouts#using-container-queries) to create responsive layouts based on the size of a parent container.
@@ -168,6 +172,8 @@ In addition to traditional breakpoints based on the size of the viewport, you ca
168172

169173
[Rich editor](https://filamentphp.com/docs/4.x/forms/rich-editor) is now using [Tiptap](https://tiptap.dev/), a modern, headless, and highly extensible open source editor framework.
170174

175+
![Rich editor](https://filamentphp.com/docs/4.x/images/light/forms/fields/rich-editor/simple.jpg)
176+
171177
#### Storing content as HTML or JSON
172178

173179
By default, the rich editor stores content as `HTML`. If you would like to store the content as `JSON` instead, you can use the [`json()` method](https://filamentphp.com/docs/4.x/forms/rich-editor#storing-content-as-json).
@@ -194,16 +200,22 @@ You can [extend the Rich editor](https://filamentphp.com/docs/4.x/forms/rich-edi
194200

195201
The [Slider component](https://filamentphp.com/docs/4.x/forms/slider) lets users select one or more numeric values by dragging a handle along a track — ideal for inputs like ranges, ratings, or percentages.
196202

203+
![Slider](https://filamentphp.com/docs/4.x/images/light/forms/fields/slider/simple.jpg)
204+
197205
### Code editor
198206

199207
The [code editor component](https://filamentphp.com/docs/4.x/forms/code-editor) lets users write and edit code directly in the interface.
200208
It supports common languages including `HTML`, `CSS`, `JavaScript`, `PHP`, and `JSON`.
201209

210+
![Code editor](https://filamentphp.com/docs/4.x/images/light/forms/fields/code-editor/language.jpg)
211+
202212
### Table repeaters
203213

204214
[Table repeaters](https://filamentphp.com/docs/4.x/forms/repeater#table-repeaters) display [repeater](https://filamentphp.com/docs/4.x/forms/repeater) items in a table layout using defined `columns`.
205215
You can configure these columns with the `table()` method and `TableColumn` objects, which map to fields in the repeater's schema.
206216

217+
![Table repeaters](https://filamentphp.com/docs/4.x/images/light/forms/fields/repeater/table.jpg)
218+
207219
Each column can be customized:
208220

209221
- `hiddenHeaderLabel()` hides the label visually but keeps it accessible.
@@ -247,10 +259,14 @@ In this JavaScript context, you can use `$state`, `$get()`, and `$set()` to inte
247259
The [`FusedGroup`](https://filamentphp.com/docs/4.x/forms/overview#fusing-fields-together-into-a-group) component lets you visually combine multiple fields into a single, compact group.
248260
It's best used with compatible field types like [text inputs](https://filamentphp.com/docs/4.x/forms/text-input), [selects](https://filamentphp.com/docs/4.x/forms/select), [date-time pickers](https://filamentphp.com/docs/4.x/forms/date-time-picker) and [color pickers](https://filamentphp.com/docs/4.x/forms/color-picker).
249261

262+
![Fused group](https://filamentphp.com/docs/4.x/images/light/forms/fields/fused.jpg)
263+
250264
### Adding extra content to a field
251265

252266
Fields contain [multiple slots](https://filamentphp.com/docs/4.x/forms/overview#adding-extra-content-to-a-field) where content can be inserted in a child schema. Slots can accept text, [any schema components](https://filamentphp.com/docs/4.x/schemas/overview), [actions](https://filamentphp.com/docs/4.x/actions/overview), or [action groups](https://filamentphp.com/docs/4.x/actions/grouping-actions) — typically with [prime components](https://filamentphp.com/docs/4.x/schemas/primes).
253267

268+
![Below content](https://filamentphp.com/docs/4.x/images/light/forms/fields/below-content/text.jpg)
269+
254270
Available slots include:
255271

256272
- `aboveLabel()`, `beforeLabel()`, `afterLabel()`, `belowLabel()`
@@ -281,6 +297,8 @@ This improves type consistency and reduces the need for manual casting in your l
281297
[Code entry](https://filamentphp.com/docs/4.x/infolists/code-entry) allows you to present a highlighted code snippet in your [infolist](https://filamentphp.com/docs/4.x/infolists).
282298
It uses [Phiki](https://github.com/phikiphp/phiki) for code highlighting on the server.
283299

300+
![Code entry](https://filamentphp.com/docs/4.x/images/light/infolists/entries/code/simple.jpg)
301+
284302
## Tables
285303

286304
### Tables with custom data
@@ -329,6 +347,8 @@ Instead of having separate `Action` classes for each context, all actions now us
329347

330348
Tables now support a dedicated [toolbar actions](https://filamentphp.com/docs/4.x/tables/actions#toolbar-actions) area.
331349

350+
![Toolbar actions](https://filamentphp.com/docs/4.x/images/light/tables/actions/toolbar.jpg)
351+
332352
You can place both regular actions and [bulk actions](https://filamentphp.com/docs/4.x/tables/actions#bulk-actions) in the [`toolbarActions()`](https://filamentphp.com/docs/4.x/tables/actions#toolbar-actions) method.
333353

334354
This is useful for actions like "create", which are not tied to a specific row, or for making bulk actions more visible and accessible in the table’s toolbar.
@@ -380,7 +400,7 @@ You can now use the [`rateLimit()`](https://filamentphp.com/docs/4.x/actions/ove
380400

381401
#### Styling XLSX columns
382402

383-
You can now customize the styling of individual cells in `XLSX` exports using the [`makeXlsxRow()` and `makeXlsxHeaderRow()`](https://filamentphp.comdocs/4.x/actions/export#styling-xlsx-columns) methods in your exporter class.
403+
You can now customize the styling of individual cells in `XLSX` exports using the [`makeXlsxRow()` and `makeXlsxHeaderRow()`](https://filamentphp.com/docs/4.x/actions/export#styling-xlsx-columns) methods in your exporter class.
384404

385405
#### Customizing the XLSX writer
386406

@@ -429,7 +449,7 @@ Filament now loads the [Inter font](https://fonts.google.com/specimen/Inter) loc
429449

430450
### Sub-navigation position
431451

432-
By default, sub-navigation appears at the start of each page. You can override this globally for the entire panel using the [`subNavigationPosition()` method](https://filamentphp.com//docs/4.x/panel-configuration#setting-the-default-sub-navigation-position).
452+
By default, sub-navigation appears at the start of each page. You can override this globally for the entire panel using the [`subNavigationPosition()` method](https://filamentphp.com/docs/4.x/panel-configuration#setting-the-default-sub-navigation-position).
433453

434454
Available options are:
435455

0 commit comments

Comments
 (0)