import * as React from "react";
import { PageGrid, PageGridRow, PageGridCol } from "shared/components/PageGrid/page-grid";
import { Link } from "shared/components/Link/Link";
export const frontmatter = {
seo: {
title: 'Link Component Showcase',
description: "A comprehensive showcase of all Link component variants, sizes, and states in the XRPL.org Design System.",
}
};
export default function LinkShowcase() {
return (
Component Showcase
Link Component
A comprehensive showcase of all Link component variants, sizes, and states.
Size by Variant Matrix
{/* Header Row */}
Size
Internal Links
External Links
Disabled State
{/* Small Row */}
Small
Small Internal Link
Small External Link
Disabled Internal Link
{/* Medium Row */}
Medium
Medium Internal Link
Medium External Link
Disabled External Link
{/* Large Row */}
Large
Large Internal Link
Large External Link
Disabled Internal Link
Sizes
Small
Small Link
Medium
Medium Link
Large
Large Link
Color States
Links automatically handle color states via CSS per theme:
{/* Light Mode Colors */}
Light Mode
Enabled: Green 400 #0DAA3E
Hover/Focus: Green 500 #078139 + underline
Active: Green 400 #0DAA3E + underline
Visited: Lilac 400 #7649E3
Disabled: Gray 400 #A2A2A4
Focus Outline: Black #000000
{/* Dark Mode Colors */}
Dark Mode
Enabled: Green 300 #21E46B
Hover/Focus: Green 200 #70EE97 + underline
Active: Green 300 #21E46B + underline
Visited: Lilac 300 #C0A7FF
Disabled: Gray 500 #838386
Focus Outline: White #FFFFFF
Default (hover to see state changes and arrow animation)
Default Link
Disabled
Disabled Link
Icon Types
Arrow icons animate to chevron shape on hover (150ms cubic-bezier transition).
Arrow (Internal) - animates to chevron on hover
Arrow Link
External
External Link
Inline (No Icon)
This is a paragraph with an{" "}
inline link
{" "}
embedded within the text.
Variants
Internal
Internal Link
External
External Link
Inline
This is a paragraph with an{" "}
inline link
{" "}
that appears within the text flow.
Real-World Examples
Navigation Links
View Documentation
Learn More About XRPL
GitHub Repository
Inline Text Links
The XRP Ledger is a decentralized public blockchain. You can{" "}
read the technical documentation
{" "}
to learn more about how it works. The network is maintained by a{" "}
global community
{" "}
of developers and validators.