Skip to content
GitHub (opens in a new tab)

LinkList

A column of links, one a row with a chevron at the end, like an account's quick links.

stableMoleculecontracts/linklist.json

Preview

LinkList

A column of links, one a row with a chevron at the end. Put it in a Section. Not ListView. Not navigation. Not a Card of its own.

A record's quick links in its rail, inside a kit Section.

Quick links

Usage

Keep it short: two to eight. Actions that change data stay Button or DropdownMenu.

Do's

  • Quick links in a record's side rail
  • A few related pages to jump to from a settings or detail page

Don'ts

  • Actions that change data — use Button or DropdownMenu
  • Page navigation across the app — use SideNav (product), DocsNav (docs/catalog), or Tabs
  • People, files, or other records one per row — use ListView
  • A single link in text — use an anchor in body copy
<Section title="Quick links">
  <LinkList
    label="Quick links"
    items={[
      { id: "tax", label: "Tax Related List", href: "/tax" },
      { id: "portal", label: "Customer Portal", href: "/portal" },
    ]}
  />
</Section>
  • Quick links in a record's side rail
  • A few related pages to jump to from a settings or detail page
  • Actions that change data — use Button or DropdownMenu
  • Page navigation across the app — use SideNav (product), DocsNav (docs/catalog), or Tabs
  • People, files, or other records one per row — use ListView
  • A single link in text — use an anchor in body copy
import { LinkList } from "agentic-ds-kit";
must
  • A list named by label, so the number of links is read
  • Each row is one link, or a button when it has no href, reachable with Tab, with a visible focus ring
  • The chevron and icon are hidden from screen readers; external rows say opens in a new tab
defaults
  • label Links
stops if
  • Do not use it for actions that change data — use Button or DropdownMenu
  • Do not use it for page navigation across the app — use SideNav (product), DocsNav (docs/catalog) or Tabs
  • Do not put it in a Card or draw a box round it yourself — put it in a Section
  • Do not build a list of Links or a one-column Table for quick links — use LinkList
  • Do not use ListView for quick links
  • Do not pass custom SVG markup as icon — use a Lucide name or Lucide component
  • Do not use raw hex or primitive --color-* ramps

From contracts/linklist.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.

NameTypeRequiredDefaultNotes
itemsarrayYes—The links in order. Keep it short: two to eight.
labelstringNoLinksNames the list for screen readers, like Quick links.
  • Component
    →

    Button

    Clickable action control with appearance × mode (plus an optional flat set) and a fixed set of sizes.

  • Component
    →

    DropdownMenu

    Actions or value menu from a button, field, or nav trigger.

  • Component
    →

    SideNav

    Product side nav: brand header, icon items, optional badges, closeable; variant single (one column that closes to an icon rail) or rail-subnav (a fixed icon rail plus a SideNav.SubNav column with the picked parent's rows).

  • Component
    →

    DocsNav

    Docs and catalog sidebar only: title, grouped text-only links, optional decorative icons and muted counts on group and subgroup headers only, an active page pill and optional footer links.