← Back to Table of Contents
Summary
Read-only table column for displaying users with the same visual language as UserSelect. Automatically switches between a rich single-user layout and an overlapping avatar stack for multiple users.
Basic usage
Single User (BelongsTo)
Multiple Users (BelongsToMany)
State must be an Eloquent Model or a collection/array of models. UserColumn automatically handles eager-loading for direct relationship columns.
Configuration API
All methods accept Closure unless noted.
Real-world examples
Project Members Stack
Shared Preview Column
- Auto Eager-Loading: Automatically calls
with() for relationship columns.
- Render Cache: Per-request caching of rendered HTML for identical stacks.
- Lazy CSS: Stylesheets are loaded only when the column is rendered.
Playground
/admin/flex-fields/user-select?variant=table-column
See Playground for setup.
CSS classes (reference)
Last modified on October 16, 2026