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

CardMaterialtype

A card material: a stock or a metal with a thickness read from a maker or a standard, and the colour its edge is drawn in.

Import it

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

Definition

interface CardMaterial {
    id: string;
    name: string;
    group: CardMaterialGroup;
    thicknessMm: number;
    edge: string;
    source: CardMaterialSource;
}

Members

NameTypeDescription
idstring
namestring
groupCardMaterialGroup
thicknessMmnumber

Thickness of one card in millimetres.

edgestring

The colour of the card's edge (a look, not a measurement).

sourceCardMaterialSource

Examples

import { cardMaterial, type CardMaterial } from "@johnmorrisdotca/fuda-cards";

const steel: CardMaterial | undefined = cardMaterial("steel-0.5");
console.log(steel?.name, steel?.thicknessMm); // Stainless steel card, 0.5 mm 0.5
Stainless steel card, 0.5 mm 0.5

What it prints (run when this page was built)

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