Warp Quick Look demo — look at a related record without leaving the page: a card on hover, the details on click. Try it anywhere; the data is reset every hour. warpui.com About Warp Quick Look Docs Ask a question Support
Skip to content

No resource, and Blade

A model without a resource can be shown too, and any Blade view can link to a record with a component.

A model without a resource

Suppliers have no resource. FilamentWarpQuickLookPlugin::make()->look(Supplier::class, …) in the panel provider tells the plugin how to show them.

Note: Try it

Put the pointer on a supplier, then click it: the details list the supplier’s products.

6 results
Loading...
Name Supplier
Ballpoint pens (12)
Summit Office
Copy paper A3
Northwind Paper
Copy paper A4
Northwind Paper
Envelopes C5
Northwind Paper
Packing tape
Coastal Packaging
Ring binder
Summit Office

In your own Blade view

Wrap any text in <x-warp-quicklook::link :record="$supplier">. It works in your own pages and views.

Note: Try it

Put the pointer on a name in the lines below, then click it.

Suppliers: Atlas Hardware Coastal Packaging Northwind Paper Summit Office

Customers: Acme Corp Bluebird Foods Cedar & Pine Delta Logistics

In a widget

This widget lists the key accounts with the same Blade component. The two private accounts stay plain text: the component adds nothing to a record you may not view.

Note: Try it

Put the pointer on each name: Acme Corp and Delta Logistics have cards; the private accounts do not.

Key accounts

  • Acme Corp 2 orders
  • Delta Logistics 4 orders
  • Hollis Hardware 7 orders
  • Kestrel Air 2 orders