Skip to content

Video

Last updated 27 Oct 2026

NbVideo is a short, silent, looping video that takes the place of a still picture: a hero film, a five-second demo of a product being used. It is not a player for something to sit and watch. There are no controls beyond play and pause, and no sound.

Props ​

PropTypeDefaultDescription
srcstringrequiredThe video file
posterstringrequiredThe still painted first, and kept without motion
mobileSrcstringA lighter cut for narrow screens
mobileBreakpointnumber768Width in px under which mobileSrc is used
labelstringWhat it shows, for screen readers
widthnumberIntrinsic width, to reserve the space
heightnumberIntrinsic height, to reserve the space
fit'cover' | 'contain''cover'Crop to fill, or show whole
loopbooleantrueLoop the video
playLabelstring'Play video'Accessible name of the play control
pauseLabelstring'Pause video'Accessible name of the pause control