import { NAME, pattern, UI, type VNode } from "commonfabric"; // deno-lint-ignore no-empty-interface interface CardStoryInput {} export interface CardStoryOutput { [NAME]: string; [UI]: VNode; controls: VNode; } export default pattern(() => { return { [NAME]: "cf-card Story", [UI]: (
Basic Card A simple card with text content. Cards provide built-in padding. 🎨 Card with Icon Horizontal layout with icon and text Action Card with Nested Elements Save Cancel
), controls: (
No interactive controls. This story shows cf-card layout variations.
), }; });