Skip to main content

ui_card

Function ui_card 

Source
pub fn ui_card(x: f32, y: f32, w: f32, h: f32, title: &str, description: &str)
Expand description

Render a card container with an optional title and description.

Cards are purely visual containers — they do not capture clicks. Pass an empty string to omit either text element.