Skip to content

Duration tag

Pro

A video's length in the corner of its picture, light on a dark see-through ground over any picture, read in words as part of the card's link. Not an M3 component (@windmorph/react-pro).

import { DurationTag, MediaFrame } from '@windmorph/react-pro';

Part of Windmorph Pro, paid components on the free core, not on sale yet. See the Pro guide for what it includes and to register interest.

Playground

Length 4 minutes, 12 seconds

Code

import { DurationTag, MediaFrame } from '@windmorph/react-pro'; <MediaFrame ratio="16/9">  <img src="/media/poster.jpg" alt="" />  <DurationTag    duration={252}  /></MediaFrame>

Examples

Cards that are links

Raised, corners, a rounder frame and your own words