Link Component
All link color variants, CJK support, and disabled state.
Notes
- Use
link class on tags for styled hyperlinks.
- Add color class like
link-primary to override the default link color.
- Use
link-cjk for better underline offset with CJK characters.
- Disabled state is supported via the
disabled attribute.
Base link
Link CJK
link-cjk (optimized offset for CJK)
链接文字
主要链接
Primary colors
Status colors
Neutral colors
Custom colors
Multiple color formats are supported:
- 1. Theme semantic colors, e.g.
*-error, *-error-hover
- 2. Tailwind built-in colors, e.g.
*-indigo-500
- 3. Raw color values, e.g.
*-[#ff0000]
- 4. CSS named colors, e.g.
*-[red], *-[green]