Menu

Cards

Patrick Garske

card(content, card_header, image_url)


Creates a bare-bones card element

content - The card's body content

card_header - The card's header (Optional)

image_url - The card's top image (Optional)

card_content(title, subtitle, content)


Generates Title and Subtitle for card's content

title - The content's title

subtitle - The content's subtitle

content - Other content for the card body

card_list_group(content)


Creates a list group inside a card

content - The list group's content (most likely list items)

Example

View Working Example

echo card(card_content("Card Title","Card Subtitle",card_list_group(list_group_item("This is a list item.") . list_group_item("This is another list item."))."And there can still be more 'regular' content afterwards"),"Card Header",no_arg());

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.