Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

Card

Card using the host's content panels presentation.

Import

import { Card } from "@dartwic/interface-sdk/ui";

Declaration

export const Card: HostComponent<CardProps>;

CardProps

Props accepted by the card root.

export interface CardProps extends HostComponentProps {}
PropTypeRequirementDescription
classNamestringOptionalAdditional Tailwind or host CSS classes.
childrenHostNodeOptionalChild content rendered by the host component.
idstringOptionalOptional DOM identifier.
styleRecord<string, unknown>OptionalInline style values passed to the host component.