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 · Collections and piles: pure helpers

collectionViewsconstant

The ten displays, in the order the buttons show them, each with the label on its button. jukebox and tower were two more names for the deck's pile of cards (no real counterpart for cards, and the same drawing), so they are no longer offered; see collectionViewAliases.

Import it

import { collectionViews } from "@johnmorrisdotca/fuda-cards/collection";

Definition

const collectionViews: readonly { id: CollectionView; label: string; }[] = [
    { id: "deck", label: "Overlapping Deck" },
    { id: "rolodex", label: "Rolodex" },
    { id: "binder", label: "Binder Pages" },
    { id: "case", label: "Convention Display Case" },
    { id: "random", label: "Random Draw" },
    { id: "story", label: "Vertical Story Scroll" },
    { id: "wall", label: "Sliding Gallery Wall" },
    { id: "spotlight", label: "Spotlight Carousel" },
    { id: "atlas", label: "Card Table" },
    { id: "fan", label: "Fan of Cards" },
]

Examples

import { collectionViews } from "@johnmorrisdotca/fuda-cards/collection";

console.log(collectionViews.length, collectionViews[0].label); // 10 Overlapping Deck
10 Overlapping Deck

What it prints (run when this page was built)

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