Skip Navigation
Type PropertyProperty

topicKindBadgeClass

The class of the hidden element in every topic that names the topic’s kind.

static let topicKindBadgeClass: String

Discussion

The element has no content; it carries the topic type in typeAttribute and, for symbols, the letters of swift-docc-render’s icon in lettersAttribute, so that a theme can show a letter badge for every topic.