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

CALENDAR_FLIPSconstant

The four ways a page turns: tear-down, fly-up, rip-corner and flip-down.

Import it

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

Definition

const CALENDAR_FLIPS: readonly ["tear-down", "fly-up", "rip-corner", "flip-down"] = ["tear-down", "fly-up", "rip-corner", "flip-down"] as const

Examples

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

console.log(CALENDAR_FLIPS.join(", "));
tear-down, fly-up, rip-corner, flip-down

What it prints (run when this page was built)

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