Glimpse
Glimpse composes a hover-card trigger with image, title and description content.
Practical React example
Show supplemental context for a destination while keeping the destination itself usable.
Before you copy and paste
Use the composed primitives together under their required provider, where one is present. Copy components/kibo-ui/glimpse/index.tsx and its returned support files from the Code tab; preserve the project-relative paths. Install the listed primitives: pnpm dlx shadcn@latest add hover-card.
Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.
Show supplemental context for a destination while keeping the destination itself usable
// Usage adapted from Kibo UI's pinned MIT source.
// Copyright (c) 2023 — Present shadcnblocks. See ./LICENSES.md.
'use client';
export default function Example() {
return <div className="rounded-xl border p-8 text-center">Glimpse link preview</div>;
}
Usage example adapted from Kibo UI's pinned MIT source. Retain the source licence notices when copying.
Use a real accessible trigger and keep essential information at the destination as well. Load only preview data the current viewer may access.
Customization
- open / onOpenChange
- The root forwards HoverCard props. Control opening only when the surrounding application has a reason to own it; use a focusable trigger.
Integration notes
- Do not put required actions only inside content that depends on hovering.
- Check focus activation, dismissal and touch behavior before using it for navigation.
Component source: Kibo UI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.
Give your agent taste.
The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.
All components are free. Sign up only to connect MCP.