Components › Navigation
Skip link
Let keyboard users bypass repeated navigation and jump to content.
Installation
npx plankui@latest add skip-linkUsage
import { SkipLink } from "@/components/ui/skip-link";
<SkipLink href="#main-content">Skip to content</SkipLink>API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| href | string | required | Fragment ID of a focusable target, such as a main element with tabIndex={-1}. |
| children | ReactNode | Label shown when focused. |