Skip to the content

Fuda Cards札

Collectible card frames for images and live 3D: a true thickness, an edge, foil, stacks, wear and a binder, as two web components.

Fuda is the Japanese word 札 for a card or a tag. About the name

Contents

Reference · Options, materials, stacks and wear

CardVarianttype

A card's look: classic gold, silver sport or cosmic violet.

Import it

import type { CardVariant } from "@johnmorrisdotca/fuda-cards";

Definition

type CardVariant = "classic" | "sport" | "cosmic";

Examples

import { cardVariants, type CardVariant } from "@johnmorrisdotca/fuda-cards";

const look: CardVariant = "cosmic";
console.log(cardVariants.indexOf(look)); // 2
2

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/fuda-cards 0.11.0.