Calm motion: animations on this site only fade, with no movement
Workout log
Sets of an exercise with weight and repetitions, and the last session
Logs one exercise in a gym or fitness app, set by set. A rep (repetition) is one lift. A set is a group of reps without a rest.
Basic
Back squat
| Set | Last time | Weight (kg) | Reps | Done | |
|---|---|---|---|---|---|
| 1 | 57.5 × 8 | ||||
| 2 | 60 × 8 | ||||
| 3 | 60 × 7 |
Volume 980 kg
exerciseis the name of the exercise.v-modelis the list of sets. Each set has aweight, thereps, anddone.previousis the list of sets of the last session. Each row shows the set of the same number from last time, such as "60 × 8", so the lifter knows what to beat.- Each row has number fields for the weight and the reps, and a check box for done. Each field has a name with its set number, such as "Weight, set 2". A done row turns light green.
- "Add a set" copies the last set, as lifters often repeat it. The ✕ button removes a set.
- The volume under the table is weight × reps of the done sets.
unitis the unit of the weight (defaultkg), andlocalesets the format. - Change the words with
labelsor a label pack:set,last,weight,reps,done,add, and the functionsremove,volume, andfield.
Usage
ts
import { BlessWorkoutLog } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
exercise* | string | — | |
previous | { weight: number; reps: number; }[] | [] | the sets of the last session, for each row |
unit | string | "kg" | the unit of the weight |
locale | string | "en" | |
labels | Partial<{ set: string; last: string; weight: string; reps: string; done: string; add: string; remove: (n: number) => string; volume: (total: string) => string; field: (what: string, n: number) => string; }> | — | |
modelValue | BlessWorkoutSet[] | [] |
Events
| Name | Payload | Description |
|---|---|---|
update:modelValue | [value: BlessWorkoutSet[]] |