Adventureland Registry

All Work Browse

Company-grouped work browser with a sticky jump-nav, scroll-spy active state, and per-group WorkSection panels.

AllWorkBrowse groups work items by company, sorts groups by latest activity date, and renders a sticky horizontal jump-nav with scroll-spy highlighting. Each group renders a WorkSection with keyboard navigation disabled when not in view.

Installation

npx shadcn@latest add @adv/all-work-browse

Usage

import { AllWorkBrowse } from '@/components/sections/all-work-browse';

<AllWorkBrowse
  items={allWorkItems}
  companyMeta={[
    { company: 'SigNoz', logo: '/logos/signoz.svg', href: '/work/signoz' },
  ]}
  onSelect={(item, href) => router.push(href)}
/>

Example

Props

PropTypeDefaultDescription
itemsAllWorkBrowseItem[]Work items with a required company field.
companyMetaCompanyMeta[][]Optional company overrides: { company, slug?, logo?, href? }.
getItemVisibility(item) => 'visible' | 'hidden' | 'inert'() => 'visible'Per-item visibility forwarded to each WorkSection.
onSelect(item, href) => voidNavigation callback forwarded to each WorkSection.
getItemHref(item) => string/work/{company | id}Custom href builder forwarded to each WorkSection.

On this page