Launch sale — 60% off Pro
Contact
ItemInteractive

Not affiliated with official shadcn/ui. Visit ui.shadcn.com for official docs.

React Item as Link

Clickable Item components rendered as anchor links with ChevronRight and ExternalLink icons using shadcn/ui Item with asChild pattern

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


List items often need to be clickable links—navigation to details pages or external resources. This React pattern uses Item with asChild prop rendering anchor tags, ChevronRightIcon for internal navigation, ExternalLinkIcon with target blank and rel noopener noreferrer for external links—semantic HTML with proper link attributes. Built with shadcn/ui Item components and Lucide React icons, it's perfect for navigation lists, resource directories, settings menus, documentation links, or any list where items navigate to destinations requiring accessible keyboard-friendly clickable items.

Pattern created by @haydenbleasel

Installation

Questions you might have