Changelog
Append .mdx to any page URL to get the page's source as its author wrote it, with components left as MDX, so AI tools can learn how it is written:
curl https://docs.butterix.com/components/live-photo.mdxThe .md suffix redirects to .mdx. Generated pages such as endpoint pages and the changelog have no source, so both addresses return their clean Markdown; for the clean Markdown of a written page, send Accept: text/markdown.
- Live Photo:
<LivePhoto>pairs a photo with a short video and shows a Live badge in the top-left corner. Press and hold to play, let go to stop, or click the badge to play it once, just like Live Photos on iPhone. - Image compare:
<ImageCompare>stacks two images with a divider you drag left and right, great for showing before-and-after changes.
<LivePhoto src="/assets/live.jpg" video="/assets/live.mp4" />
<ImageCompare before="/assets/before.jpg" after="/assets/after.jpg" beforeLabel="Before" afterLabel="After" />See Live Photo and Image compare.