Video
Description
Add the Livewire directive @livewire('livewire-ui-spotlight'):
<html>
<body>
<!-- content -->
@livewire('livewire-ui-spotlight')
</body>
</html>
To open the Spotlight input bar you can use one of the following shortcuts:
- CTRL + K
- CMD + K
- CTRL + /
- CMD + /
You can customize the keybindings in the configuration file. It's also possible to toggle Spotlight from any other Livewire component or via Javascript.
Related Content on Laravel Daily
Video
Recent Courses on Laravel Daily
[NEW] Next.js Basics for Laravel Developers
11 lessons
58 min
How to Build Laravel 13 API From Scratch
30 lessons
1 h 23 min
[FREE] Laravel 13 for Beginners: 3 Demo Projects
5 lessons
29 min