jengacore.shadcn registry · Tailwind v4 · Radix and Base UI
Components
Foundations · @jengacore/theme

Scrollbar

The theme draws every scrollbar in the scrollbar-thumb tokens. In Chromium and Safari, native overflow and the ScrollArea component look the same: a 6px rounded thumb in a 10px track, always visible, at least 3:1 on every surface, darker under the pointer and while dragged. On navy sidebars it uses the sidebar greys. Under forced colours (Windows High Contrast) the system draws its own scrollbars.

Long list · native
  • tx_01J9ZK4000Settled
  • tx_01J9ZK4037Pending
  • tx_01J9ZK4074Returned
  • tx_01J9ZK4111Settled
  • tx_01J9ZK4148Pending
  • tx_01J9ZK4185Returned
  • tx_01J9ZK4222Settled
  • tx_01J9ZK4259Pending
  • tx_01J9ZK4296Returned
  • tx_01J9ZK4333Settled
  • tx_01J9ZK4370Pending
  • tx_01J9ZK4407Returned
  • tx_01J9ZK4444Settled
  • tx_01J9ZK4481Pending
  • tx_01J9ZK4518Returned
  • tx_01J9ZK4555Settled
  • tx_01J9ZK4592Pending
  • tx_01J9ZK4629Returned
  • tx_01J9ZK4666Settled
  • tx_01J9ZK4703Pending
  • tx_01J9ZK4740Returned
  • tx_01J9ZK4777Settled
  • tx_01J9ZK4814Pending
  • tx_01J9ZK4851Returned
  • tx_01J9ZK4888Settled
  • tx_01J9ZK4925Pending
  • tx_01J9ZK4962Returned
  • tx_01J9ZK4999Settled
  • tx_01J9ZK5036Pending
  • tx_01J9ZK5073Returned
  • tx_01J9ZK5110Settled
  • tx_01J9ZK5147Pending
  • tx_01J9ZK5184Returned
  • tx_01J9ZK5221Settled
  • tx_01J9ZK5258Pending
  • tx_01J9ZK5295Returned
  • tx_01J9ZK5332Settled
  • tx_01J9ZK5369Pending
  • tx_01J9ZK5406Returned
  • tx_01J9ZK5443Settled
Long list · ScrollArea
Code block · both directions
const line01 = settle({ window: "W-20261028", currency: "BIF", amount: "1250.00", reference: "INV-9000" })
const line02 = settle({ window: "W-20261029", currency: "BIF", amount: "1363.50", reference: "INV-9001" })
const line03 = settle({ window: "W-20261030", currency: "BIF", amount: "1477.00", reference: "INV-9002" })
const line04 = settle({ window: "W-20261031", currency: "BIF", amount: "1590.50", reference: "INV-9003" })
const line05 = settle({ window: "W-20261032", currency: "BIF", amount: "1704.00", reference: "INV-9004" })
const line06 = settle({ window: "W-20261033", currency: "BIF", amount: "1817.50", reference: "INV-9005" })
const line07 = settle({ window: "W-20261034", currency: "BIF", amount: "1931.00", reference: "INV-9006" })
const line08 = settle({ window: "W-20261035", currency: "BIF", amount: "2044.50", reference: "INV-9007" })
const line09 = settle({ window: "W-20261036", currency: "BIF", amount: "2158.00", reference: "INV-9008" })
const line10 = settle({ window: "W-20261037", currency: "BIF", amount: "2271.50", reference: "INV-9009" })
const line11 = settle({ window: "W-20261038", currency: "BIF", amount: "2385.00", reference: "INV-9010" })
const line12 = settle({ window: "W-20261039", currency: "BIF", amount: "2498.50", reference: "INV-9011" })
const line13 = settle({ window: "W-20261040", currency: "BIF", amount: "2612.00", reference: "INV-9012" })
const line14 = settle({ window: "W-20261041", currency: "BIF", amount: "2725.50", reference: "INV-9013" })
const line15 = settle({ window: "W-20261042", currency: "BIF", amount: "2839.00", reference: "INV-9014" })
const line16 = settle({ window: "W-20261043", currency: "BIF", amount: "2952.50", reference: "INV-9015" })
const line17 = settle({ window: "W-20261044", currency: "BIF", amount: "3066.00", reference: "INV-9016" })
const line18 = settle({ window: "W-20261045", currency: "BIF", amount: "3179.50", reference: "INV-9017" })
const line19 = settle({ window: "W-20261046", currency: "BIF", amount: "3293.00", reference: "INV-9018" })
const line20 = settle({ window: "W-20261047", currency: "BIF", amount: "3406.50", reference: "INV-9019" })
const line21 = settle({ window: "W-20261048", currency: "BIF", amount: "3520.00", reference: "INV-9020" })
const line22 = settle({ window: "W-20261049", currency: "BIF", amount: "3633.50", reference: "INV-9021" })
const line23 = settle({ window: "W-20261050", currency: "BIF", amount: "3747.00", reference: "INV-9022" })
const line24 = settle({ window: "W-20261051", currency: "BIF", amount: "3860.50", reference: "INV-9023" })
const line25 = settle({ window: "W-20261052", currency: "BIF", amount: "3974.00", reference: "INV-9024" })
const line26 = settle({ window: "W-20261053", currency: "BIF", amount: "4087.50", reference: "INV-9025" })
const line27 = settle({ window: "W-20261054", currency: "BIF", amount: "4201.00", reference: "INV-9026" })
const line28 = settle({ window: "W-20261055", currency: "BIF", amount: "4314.50", reference: "INV-9027" })
const line29 = settle({ window: "W-20261056", currency: "BIF", amount: "4428.00", reference: "INV-9028" })
const line30 = settle({ window: "W-20261057", currency: "BIF", amount: "4541.50", reference: "INV-9029" })
Wide table · horizontal
TransactionStatusAmountCurrencyPayer FSPPayee FSPWindowCreatedUpdatedReference
tx_01J9ZK4000Settled1250.00BIFbank-awallet-bW-2026102828 Oct 2026 09:1028 Oct 2026 09:20INV-9000
tx_01J9ZK4037Pending1363.50BIFbank-awallet-bW-2026102928 Oct 2026 09:1128 Oct 2026 09:21INV-9001
tx_01J9ZK4074Returned1477.00BIFbank-awallet-bW-2026103028 Oct 2026 09:1228 Oct 2026 09:22INV-9002
tx_01J9ZK4111Settled1590.50BIFbank-awallet-bW-2026103128 Oct 2026 09:1328 Oct 2026 09:23INV-9003
tx_01J9ZK4148Pending1704.00BIFbank-awallet-bW-2026103228 Oct 2026 09:1428 Oct 2026 09:24INV-9004
tx_01J9ZK4185Returned1817.50BIFbank-awallet-bW-2026103328 Oct 2026 09:1528 Oct 2026 09:25INV-9005
Sidebar · navy, sidebar tokens
ScrollArea · horizontal bar
.scrollbar-none · still scrolls · 14 chips
Settled · 4000Pending · 4037Returned · 4074Settled · 4111Pending · 4148Returned · 4185Settled · 4222Pending · 4259Returned · 4296Settled · 4333Pending · 4370Returned · 4407Settled · 4444Pending · 4481
.scrollbar-stable · gutter kept
Three rows today, forty tomorrow: the gutter is reserved, so the content never shifts when the scrollbar appears.

Use

usage
/* Nothing to add: the theme styles every scrollbar. */

<div className="overflow-y-auto">…</div>                 /* themed */
<div className="scrollbar-none overflow-x-auto">…</div>  /* hidden, still scrolls */
<div className="scrollbar-stable overflow-y-auto">…</div> /* gutter reserved, no layout shift */

<ScrollArea className="h-72">…</ScrollArea>              /* same thumb, same size */
  • scrollbar-none hides the bar only: the region still scrolls by wheel, touch and keyboard. Use it where another cue shows there is more (a fade, a count, arrows).
  • scrollbar-stable sets scrollbar-gutter: stable for lists whose length changes live.
  • A scrolling region needs a keyboard way in: focusable content, or tabIndex=0 with a role and a name. The ScrollArea viewport is not a tab stop, as upstream.
  • ScrollArea keeps its default type="hover": its bar shows on hover and while scrolling. Native bars cannot tell when scrolling starts without script, so they stay visible.
  • Firefox takes only scrollbar-width: thin and the thumb colour: its own thumb shape and size, no hover colour. macOS overlay scrollbars, in any browser, follow the system setting.
  • ScrollArea hides the viewport's native bar with its own unlayered style, which wins over the theme, so it never shows two bars.
  • Nothing animates natively; the ScrollArea thumb's colour change is switched off by reduced motion.

Contrast (WCAG 1.4.11, 3:1)

PairLightDarkHigh contrast
scrollbar-thumb on background / card3.454.08 / 3.7517.40
scrollbar-thumb on canvas3.214.0817.40
scrollbar-thumb on muted / accent3.10 / 3.103.46 / 3.2615.61 / 14.89
scrollbar-thumb on table-stripe3.053.6315.61
scrollbar-thumb-hover on card5.336.7719.68
sidebar-muted thumb on sidebar6.056.2714.23