The Changelog

What's new around here?

Succinct and informative updates about Flux.
RSS feed
September 8, 2026

Pie charts

Version ^2.19.0
Flux donut chart showing $128k in total revenue alongside a four-category, color-matched legend on white
Flux charts now support pies and donuts. Here’s what a basic pie chart looks like:
Copy to clipboard
<flux:chart wire:model="data" class="aspect-square">    <flux:chart.svg>        <flux:chart.pie field="value" label-field="label" />    </flux:chart.svg></flux:chart>
Each row in $data becomes a slice. Give it a label and a numeric value, and Flux handles the proportions and colors.

Tooltips that follow the slice

Close-up of the Subscriptions slice with its matching purple tooltip showing 48%, while the surrounding chart and legend are faded
To let someone hover a slice and see its name and value, add a tooltip inside your chart:
Copy to clipboard
<flux:chart.tooltip>    <flux:chart.tooltip.value field="value" label-field="label">        <flux:chart.tooltip.indicator />    </flux:chart.tooltip.value></flux:chart.tooltip>
The same tooltip row works for every slice: label-field picks up its name, and the little indicator dot matches its color.

The little details

I wanted it to be easy to keep track of a slice as your data changes, so colors stay with their slices. Flux uses each row's id, or its label when there's no ID. Sorting your data or removing a row won't shuffle the remaining colors, and you can set a row's color yourself if you already have a palette in mind.
You can help someone follow a slice while they're hovering, too. Flux marks the hovered slice as active and the others as inactive, leaving the styling up to you. For example, these classes gently dim the other slices:
Copy to clipboard
class="transition-opacity data-inactive:opacity-40"
To try these options together, pick the Pie preset in the interactive chart builder. You can tweak the chart there, then copy the Blade into your app.
September 8, 2026
An inverted Flux success toast with a green check icon, confirming changes were saved
Flux toasts now have an inverted treatment: dark in light mode, light in dark mode. Add invert to the toast component in your layout:
Copy to clipboard
<flux:toast invert />
That sets the appearance for every toast. Your existing Flux::toast() calls stay the same.

The details follow along

The contrasting surface gives the message a little more separation from the page. Headings and body text switch colors with it, along with links, action buttons, and the close button's hover state.
You can still distinguish a successful save from a warning. invert controls the appearance, leaving variant available for the message:
Copy to clipboard
Flux::toast(    'Changes saved.',    variant: 'success',);
September 8, 2026
A single Flux toast confirming changes were saved, with an Undo action
Flux toasts can now include an action. Give someone an Undo right after saving, or a View link to the invoice they just created, while the context is still fresh.
With <flux:toast /> in your layout, add an action to your PHP toast call:
Copy to clipboard
Flux::toast(    text: 'Changes saved.',    action: [        'label' => 'Undo',        'event' => 'undo-changes',        'params' => ['changeSetId' => $changeSet->id],    ],);
The action dispatches an event with your parameters. Listen with Livewire's #[On('undo-changes')] on an undoChanges(int $changeSetId) method and supply the undo logic.
On Livewire 4.4.4 or later, the button shows a spinner while the request runs, then dismisses the toast when it finishes. Its width stays put, so nothing jumps around when you click.
If the toast should stick around after the action, add 'dismiss' => false. Use duration: 0 when you also want to turn off automatic dismissal.
For a link instead, use href:
Copy to clipboard
Flux::toast(    text: 'Invoice created.',    action: [        'label' => 'View',        'href' => route('invoices.show', $invoice),        'navigate' => true,    ],);
That renders a real link, so opening it in a new tab works as expected. navigate opts into Livewire's wire:navigate.
Copyright © 2026 Wireable LLC ·Terms of Service
Built with by
Caleb Porzio and Hugo Sainte-Marie