Skip to the content

Koyomi Calendars暦

Calendar pages as SVG: a day as an icon in 18 original designs, a whole month as a poster or a desk pad, and the page turning from one day to the next.

Koyomi is the Japanese word 暦 for the calendar. About the name

Contents

Reference · /animate

CalendarFliptype

One of the names in CALENDAR_FLIPS.

Import it

import type { CalendarFlip } from "@johnmorrisdotca/koyomi-calendars/animate";

Definition

type CalendarFlip = (typeof CALENDAR_FLIPS)[number];

Examples

import { CALENDAR_FLIP_LABELS, type CalendarFlip } from "@johnmorrisdotca/koyomi-calendars/animate";

const flip: CalendarFlip = "rip-corner";
console.log(CALENDAR_FLIP_LABELS[flip].en);
Rip to a corner

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/koyomi-calendars 0.3.0.