Link

A styled hyperlink component.

Anatomy

Import all parts and piece them together.

use leptos::prelude::*;
use singlestage::Link;

#[component]
pub fn LinkAnatomy() -> impl IntoView {
    view! { <Link /> }
}

API Reference

Link

Creates a hyperlink.

Custom Attributes
NameTypeDefaultDescription
mimetypeString""

Renamed <a> `type` attribute to avoid name collisions.

Implements global and a attributes.