Overview
SlideLink is a pre-styled Next.js <Link> component designed for navigation within slide decks. It provides two visual styles: a solid primary button and a bordered ghost button.
Props
The destination URL. Can be a slide path, breakout page, or external URL.
The link content (text, icons, etc.).
Visual style.
"primary" is a solid button; "ghost" is a bordered transparent button.Additional CSS classes to apply to the link.
Type Definitions
Usage Examples
Basic navigation to breakout page
Ghost variant for exit link
Custom styling
Styling
The component applies these base classes:nxs-slide-link- Base identifier class- Flexbox layout with centered content
- Rounded corners, padding, and smooth transitions
Ghost variant: Transparent background with border and muted hover state You can override styles using Tailwind CSS classes via the
className prop.