The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

SlideWire: Build Presentations with Livewire and Blade

Published on by

SlideWire: Build Presentations with Livewire and Blade image

SlideWire is a Laravel package for building browser-based presentation decks with Livewire and Blade components. Slides are Blade templates rendered as full-page Livewire components, allowing use of public properties, with(), and the complete Livewire component model.

Authoring Slides

A deck uses <x-slidewire::deck> and <x-slidewire::slide> components. The example below makes a simple presentation that uses the neon theme and a fade transition:

<x-slidewire::deck theme="neon" transition="fade">
<x-slidewire::slide>
<x-slidewire::markdown>
## Hello, SlideWire
Presentations built with Blade and Livewire.
</x-slidewire::markdown>
</x-slidewire::slide>
 
<x-slidewire::slide>
<x-slidewire::code language="php">
Route::slidewire('/slides/hello', 'demo/hello');
</x-slidewire::code>
</x-slidewire::slide>
</x-slidewire::deck>

Fragments

Use the <x-slidewire::fragment> component to reveal content progressively within a slide. SlideWire steps through each fragment before showing the next slide:

<x-slidewire::slide>
<x-slidewire::fragment>First point</x-slidewire::fragment>
<x-slidewire::fragment>Second point</x-slidewire::fragment>
<x-slidewire::fragment>Third point</x-slidewire::fragment>
</x-slidewire::slide>

Vertical Slide Stacks

For two-dimensional decks, <x-slidewire::vertical-slide> groups slides into a vertical stack beneath a horizontal position, letting you drill down into a topic without leaving the main flow:

<x-slidewire::deck>
<x-slidewire::slide>Overview</x-slidewire::slide>
 
<x-slidewire::vertical-slide>
<x-slidewire::slide>Deep Dive: Part One</x-slidewire::slide>
<x-slidewire::slide>Deep Dive: Part Two</x-slidewire::slide>
</x-slidewire::vertical-slide>
 
<x-slidewire::slide>Wrap Up</x-slidewire::slide>
</x-slidewire::deck>

Code Highlighting and Diagrams

Syntax highlighting is bundled via Phiki — no extra setup required. The <x-slidewire::code> component accepts a language attribute along with optional theme, font, and font size overrides:

<x-slidewire::code language="php">
public function handle(): void
{
$this->info('Hello from SlideWire!');
}
</x-slidewire::code>

Mermaid diagrams are also supported and render in the browser when the slide becomes active:

<x-slidewire::diagram>
flowchart LR
A[Request] --> B[Route] --> C[Controller]
</x-slidewire::diagram>

Features

  • Seven built-in themesdefault, black, white, aurora, sunset, neon, and solarized — with six transition presets and adjustable speeds
  • Two-dimensional navigation — horizontal and vertical slide stacks, with keyboard, click, tap, swipe, and hash-based deep linking
  • Fragments — progressive content reveals within a single slide before advancing
  • Syntax highlighting — bundled via Phiki, no extra setup required
  • Mermaid diagram support — renders client-side when the slide becomes active
  • And more...

Installation

SlideWire requires PHP 8.4, Laravel 12, and Livewire 4.2 or higher. Install via Composer:

composer require wendelladriel/slidewire

Full documentation is available at slidewire.dev and the source is on GitHub.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.

image
Tinkerwell

Enjoy coding and debugging in an editor designed for fast feedback and quick iterations. It's like a shell for your application – but with multi-line editing, code completion, and more.

Visit Tinkerwell
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
Get expert guidance in a few days with a Laravel code review logo

Get expert guidance in a few days with a Laravel code review

Expert code review! Get clear, practical feedback from two Laravel devs with 10+ years of experience helping teams build better apps.

Get expert guidance in a few days with a Laravel code review
PhpStorm logo

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
Laravel Cloud logo

Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Cloud
Acquaint Softtech logo

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit
MongoDB logo

MongoDB

Enhance your PHP applications with the powerful integration of MongoDB and Laravel, empowering developers to build applications with ease and efficiency. Support transactional, search, analytics and mobile use cases while using the familiar Eloquent APIs. Discover how MongoDB's flexible, modern database can transform your Laravel applications.

MongoDB

The latest

View all →
Spatie Shares Their Coding Guidelines as AI Skills image

Spatie Shares Their Coding Guidelines as AI Skills

Read article
AI Generative Engine Optimization for Laravel image

AI Generative Engine Optimization for Laravel

Read article
Attach PDFs Directly to Mailables in laravel-pdf 2.6.0 image

Attach PDFs Directly to Mailables in laravel-pdf 2.6.0

Read article
Composer 2.9.6 Fixes Two Perforce Command Injection Vulnerabilities image

Composer 2.9.6 Fixes Two Perforce Command Injection Vulnerabilities

Read article
Ship AI with Laravel: Your AI Agent Has Amnesia. Let's Fix It. image

Ship AI with Laravel: Your AI Agent Has Amnesia. Let's Fix It.

Read article
Redis Cluster Support for Queues in Laravel 13.5.0 image

Redis Cluster Support for Queues in Laravel 13.5.0

Read article