# mantine/release
Mantine 9.6.0
importance: highfeature
This release introduces a new @mantine/lightbox package for full-screen media viewing, enhances notifications with custom rendering and stacked layout, and adds a new ActionBar component for bulk selection actions.
affected
Developers using Mantine for UI components and notifications will benefit from new features and customization options.
action
Consider upgrading to take advantage of new features like the lightbox, custom notifications, and ActionBar component.
release_signals
+New @mantine/lightbox package with carousel navigation, zoom, thumbnails, and store-based API
+Notifications now support custom rendering with preserved animations
+Notifications support stacked layout for displaying notifications in a stacked manner
+New ActionBar component for fixed-position bottom bar for bulk selection actions
code_snippet
import '@mantine/lightbox/styles.css';
import { useState } from 'react';
import { Image, SimpleGrid } from '@mantine/core';
import { Lightbox, LightboxSlideData } from '@mantine/lightbox';
const images = [
'https://raw.githubusercontent.com/mantinedev/mantine/master/.demo/images/bg-1.png',
'https://raw.githubusercontent.com/mantinedev/mantine/master/.demo/images/bg-2.png',
'https://raw.githubusercontent.com/mantinedev/mantine/master/.demo/images/bg-3.png',
'https://raw.githubusercontent.com/mantinedev/mantine/master/.demo/images/bg-4.png',
'https://raw.githubusercontent.com/mantinedev/mantine/master/.demo/images/bg-5.png',
];
const slides: LightboxSlideData[] = images.map((src) => ({ src }));
function Demo() {
const [opened, setOpened] = useState(false);
const [index, setIndex] = useState(0);
return (
<>
<Lightbox
opened={opened}
onClose={() => setOpened(false)}
slides={slides}
currentIndex={index}
onIndexChange={setIndex}
/>
<SimpleGrid cols={3}>
{images.map((src, i) => (
<Image
key={src}
src={src}
radius="md"
style={{ cursor: 'pointer' }}
onClick={() => {
setIndex(i);
setOpened(true);
}}
/>
))}
</SimpleGrid>
</>
);
}# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.