Lightbox for zoomable images
Zoomable images inside <Lightbox /> open in one viewer, browse them with arrow keys, swipes or the side buttons.
import { Lightbox } from 'fumadocs-ui/components/image-zoom';
<Lightbox>
<MDX components={getMDXComponents()} />
</Lightbox>;- The image title is shown as caption, pass
captionto<ImageZoom />for rich content. rmizprops don't apply inside<Lightbox />.- Added translation keys of the image viewer to
@fumadocs/language.
Show failed searches in the search dialog
<SearchDialog />accepts theerrorof search hooks,<SearchDialogList />shows it above the previous results.
Fix #3698