Source code

Revision control

Copy as Markdown

Other Tools

// Nova Components - Card heading subcomponent
import figma from "figma";
const expanded = figma.selectedInstance.getBoolean("Expanded", {
true: "This card is in the 'expanded' state.",
false: undefined,
});
export default {
id: "moz-card-heading",
example: figma.code`This subcomponent is created by passing a 'heading' property to the
moz-card component. See the moz-card for detail. ${expanded ?? ""}`,
};