App showcase
Show a featured home or your property app on a browser, a tablet and a phone, with floating chips for the features people look for. Made for featured property and app sections.
Examples
Property app section
A complete section for a featured property or your app: text and buttons on the left, the devices on the right. Use a photo of the exterior and photos of the rooms. Move your mouse over the dark area. The devices and chips shift by different amounts, which gives the group some depth.
Bright rooms on a quiet street
A family home with an open kitchen, a sunny living room and a garden that faces south. Look through every room from your phone, then book a viewing this week.
- 4 bedrooms and 3 bathrooms
- Private garden and a double garage
- Smart heating and fast fiber internet



The first room photo is hidden below 768 px and the chips below 992 px, so the group stays tidy on small screens. data-device-zone on the section makes the whole dark area react to the pointer. The pointer motion is switched off for touch screens and for visitors who prefer reduced motion.
Single photo
The large image works on its own. It has no frame, border or shadow, and its edges fade into the section behind it, so use an image whose background matches the section.
Room photos
The room photos use a normal landscape shape with rounded corners and a thin light border. Set the width on a wrapper and the photo follows it.


How to use it
- Add your own photos. Use an exterior image for the large one and room photos for the two smaller ones. Aim for about 1440 × 900 for the large image and 960 × 720 for the room photos. Export at twice that size as WebP or JPG so the images stay sharp. Keep
widthandheighton every image to avoid layout shift. - Write alt text that describes what each photo shows, such as "The living room of the house".
- Turn on the pointer motion by adding
data-device-stageto the stage. It is handled byassets/js/effects.min.js, which is already on every page. It does nothing on touch screens or when the visitor prefers reduced motion. - Need the dark background? Wrap the stage in
.device-backdrop, or place the stage on your own dark section. The chips are designed for a dark surface and stay dark in light and dark mode.
Classes and attributes
| Name | Purpose |
|---|---|
.photo-stage | Holds the photos and chips and places them. The large image fills the stage, the two room photos overlap its corners. |
data-device-stage | On the stage. Makes the photos and chips move with the pointer. |
data-device-zone | Optional, on a parent of the stage. That parent becomes the pointer area, such as a whole section. |
.device-backdrop | Optional dark section background with soft color glows. |
.photo-main | The large image. No border, radius or shadow; its edges fade into the section. |
.photo-side, .photo-small | The two room photos. Landscape, rounded corners and a thin light border. The first is hidden below 768 px. |
.photo-chip | A floating glass label with a round icon. Add a position class inside a stage: .photo-chip--tl (top left), .photo-chip--mr (middle right) or .photo-chip--tr (top right). Hidden below 992 px. |
--px, --py | Numbers from -1 to 1 set by the script as the pointer moves. The photos and chips use them to shift. |