Function panel

Source
pub fn panel(rect: Rect, theme: &KitTheme)
Expand description

Raised surface: soft shadow, subtle top-lit gradient and a hairline edge.

use ferravex_render::{Rect, ui::kit::{self, KitTheme}};
kit::panel(Rect::new(20., 20., 200., 120.), &KitTheme::default());