| 1 | --- |
| 2 | tags: [presenter] |
| 3 | description: Timer for the presenter mode. |
| 4 | --- |
| 5 | |
| 6 | # Presenter Timer |
| 7 | |
| 8 | Slidev provides a timer for the presenter mode. You can start, pause, and reset the timer. |
| 9 | |
| 10 | It will show a timer (in stopwatch or countdown mode), and a progress bar in the presenter mode. |
| 11 | |
| 12 | ## Configuration |
| 13 | |
| 14 | You can set the duration of the presentation in the headmatter. Default is `30min`. |
| 15 | |
| 16 | ```yaml |
| 17 | --- |
| 18 | # duration of the presentation, default is '30min' |
| 19 | duration: 30min |
| 20 | # timer mode, can be 'countdown' or 'stopwatch', default is 'stopwatch' |
| 21 | timer: stopwatch |
| 22 | --- |
| 23 | ``` |
| 24 |