Skip to content
العربية
Navigation

SkipLink

The first link of the page, visible on keyboard focus.

import { SkipLink } from "@percentsa/ui";

Examples

Press Tab inside this box to see it.

Code
export function SkipLinkExample() {
  const t = useT();
  return (
    <Stack gap={3}>
      <Text size="sm" tone="muted">{t("Press Tab inside this box to see it.", "اضغط Tab داخل هذا المربع لتراه.")}</Text>
      <div className="relative h-16 w-64 rounded-field border border-dashed border-line-strong [transform:translateZ(0)]">
        <SkipLink />
      </div>
    </Stack>
  );
}