Components / Link
Link
Text that opens an address, or scrolls to an anchor.
Example
The component itself, running in WebAssembly, beside its code in a playground. Try it.
Code
use ravenrs::prelude::*;
fn link() -> impl View {
VStack::new((
Link::new(
"Read the getting started guide",
"https://github.com/alexkads/RavenRS/blob/master/docs/GETTING_STARTED.md",
)
.icon(IconName::ArrowRight),
Link::new("Components", "https://alexkads.github.io/RavenRS/components/").muted(),
))
.spacing(4.0)
}