pub fn QrCode(props: QrCodeProps) -> ElementExpand description
QR Code display component
Generates a QR code using an external API (for simplicity). In production, you might want to use a Rust QR library.
§Example
ⓘ
use dioxus::prelude::*;
use dioxus_ui_system::molecules::{QrCode, QrCodeLevel};
rsx! {
QrCode {
value: "https://example.com",
size: 256,
level: QrCodeLevel::High,
}
}