Link
Styled anchor with router integration and safety validation.
Generated from the package's public source.
API
Rootcomponent
Root(props: RootProps): Element
Props
class?stringdisabled?boolean— Disables the link (renders as span).external?boolean— Opens in a new tab with noopener noreferrer.hrefstring— URL href value. Sanitized before rendering.onClick?EventHandlerUnion<HTMLAnchorElement, MouseEvent, EventHandler<HTMLAnchorElement, MouseEvent>>— Click handler.style?string | CSSProperties
children: Element
RootPropsinterface
Props
class?stringdisabled?boolean— Disables the link (renders as span).external?boolean— Opens in a new tab with noopener noreferrer.hrefstring— URL href value. Sanitized before rendering.onClick?EventHandlerUnion<HTMLAnchorElement, MouseEvent, EventHandler<HTMLAnchorElement, MouseEvent>>— Click handler.style?string | CSSProperties
children: Element