Fumadocs

Zoom Image

Allow zoom-in images in your documentation

banner

Usage

Add it to your MDX components.

A default sizes property will be defined if not specified

import { ImageZoom } from 'fumadocs-ui/components/image-zoom';
 
const components = {
  img: (props) => <ImageZoom {...props} />,
};

Last updated on

On this page

Edit on GitHub