When you need to link an entire component or card, it can be tempting to wrap it within <a href="...">
and think you're done. This is considered unsemantic and incorrect because the component or card could
contain other clickable elements or links (tags, timestamps, buttons).
The LinkOverlay component aims to solve this by overlaying one link on top of the component or card, and then elevating the remaining links on top of it.
Wrap the container within a LinkBox and use the LinkOverlay as a child of it or around the title's content.
Usage
Import
import { LinkBox, LinkOverlay } from '@passfort/castle'content_copyCopy
Example
content_copyCopy
live example