- Copy Demo
Heads up !
You can add components to your app using the cli.
Installation
You can run either of the following commands:
# cargo install ui-cli --forceui add demo_alertui add alert
Update the imports to match your project setup.
Usage
use crate::components::ui::alert::{
Alert,
AlertDescription,
AlertTitle,
};
<Alert>
<AlertTitle>"Alert Title"</AlertTitle>
<AlertDescription>"Alert description goes here"</AlertDescription>
</Alert>