hrefreq- Type
string- Default
- -
- Description
- Anchor navigation reference target URL.
Search for a command to run...
Components / Actions
இணைப்பு
Links navigate users to a new page or section. Use the native Next.js Link component styled with Tailwind. Reserve buttons for actions; use links for navigation.
இணைப்புகள் பயனர்களை புதிய பக்கம் அல்லது பகுதிக்கு வழிசெலுத்துகின்றன.
3 parts documented for implementation and review.
Visible clickable text that describes the destination. Never use generic text like click here — state the destination or action. For Tamil, use natural phrasing. Screen readers announce this text.
Underline decoration using underline-offset-2. Required for inline links per WCAG to ensure links are distinguishable from surrounding text without relying on color alone.
svgTrailing ExternalLink icon (h-3 w-3) indicating the link opens in a new tab. Helps users anticipate navigation behavior. Use ArrowRight for same-site navigation links.
target="_blank" rel="noopener noreferrer" and the ExternalLink icon.font-tamil so Noto Sans Tamil renders correctly.Link for internal routes — never <a href="..."> for same-site navigation.hrefreqstringclassNamestring| Prop | Type | Default | Description |
|---|---|---|---|
hrefreq | string | - | Anchor navigation reference target URL. |
className | string | - | Custom stylesheet rules. |
Write link text that describes the destination — 'ஆதார் PDF பதிவிறக்கம்' tells users exactly where the link goes.
'ஆதார் PDF பதிவிறக்கம்' என்று இணைப்பு செல்லும் இடத்தை விளக்கும் உரை பயன்படுத்தவும்.
'Click here' gives no information about the destination and is inaccessible to screen reader users scanning links.
'இங்கே கிளிக் செய்யவும்' என்பது இணைப்பு எங்கு செல்கிறது என்று சொல்லாது மற்றும் திரை வாசகர்களுக்கு பயனில்லாதது.
External links must open in a new tab with rel='noopener noreferrer' for security, paired with the ExternalLink icon.
வெளி இணைப்புகள் புதிய தாவலில் திறக்க வேண்டும் மற்றும் பாதுகாப்புக்காக rel='noopener noreferrer' சேர்க்க வேண்டும்.
Links are for navigation; buttons are for actions — mixing their visual styles creates confusion about what will happen.
இணைப்புகள் வழிசெலுத்துவதற்கு, பொத்தான்கள் செயல்களுக்கு — இவற்றின் தோற்றத்தை கலப்பது குழப்பத்தை உருவாக்கும்.