shadcn Scroll area, Base UI, Maia preset. A box with its own scrollbar for a long list inside a page: medication guides, the care team. The scrollbar stays visible enough to find, and the area can be scrolled from the keyboard.
Demo
A fixed-height box with 8px corners and a border-subtle outline; the list scrolls inside it, the page does not move.
The thumb is border-strong grey, 3.5:1 on the box ground (surface-data), so the bar is visible without hovering.
The area is a region named by its visible heading; Tab reaches it and the arrow keys scroll it.
Medication guides
Amlodipine
Apixaban
Aspirin
Bisoprolol
Carvedilol
Digoxin
Diltiazem
Enalapril
Furosemide
Hydralazine
Hydrochlorothiazide
Isosorbide dinitrate
Losartan
Metoprolol
Nifedipine
Potassium chloride
Prazosin
Ramipril
Sacubitril and valsartan
Spironolactone
Telmisartan
Terazosin
Valsartan
Verapamil
Horizontal
A row of care team cards wider than the box scrolls sideways with its own horizontal bar.
No photos: each person gets a tile in the DS accent tint with a Material icon for their role.
Names and roles are written out under each tile, so the icon is never the only label.