Etch component
Mockup 1
Displays a website screenshot inside a selectable MAC browser or device frame.
Documentation
A website screenshot in a device or browser frame: a laptop, a browser window, a desktop monitor, a tablet or a phone. Use it to show a site in a portfolio or a case study.
How to use it
- Pick the Screenshot from the media library and write its Alt text. Caption adds a line under the frame; leave it empty to hide it.
- Pick the Mockup, and in Variant the version of each device: a monitor or a panel for desktop, landscape or portrait for tablets and phones.
- Try the frames in the configurator, then copy the configured JSON.
Good to know
- The screenshot fills the screen and is cropped to fit.
--mac-mockup-1-position-xand--mac-mockup-1-position-ypick the part that shows (the middle by default); set y to0%to show the top of a long page. - The frames are SVG files loaded by path, packaged as MAC Mockups v1.0.0, so a site needs them in its uploads folder. The Etch starters don't have them for now.
Reference
Read from the component's JSON, so it's always current.
Loading the reference