Layout · ui · 17K

Scroll area

System 7 scroll bars over native scrolling: arrows with a stem, checker track, square thumb, grow box.

Install

pnpm dlx shadcn@latest add @s7ui/scroll-area

Example

Line 1: this content is wider and taller than the area around it.

Line 2: this content is wider and taller than the area around it.

Line 3: this content is wider and taller than the area around it.

Line 4: this content is wider and taller than the area around it.

Line 5: this content is wider and taller than the area around it.

Line 6: this content is wider and taller than the area around it.

Line 7: this content is wider and taller than the area around it.

Line 8: this content is wider and taller than the area around it.

Line 9: this content is wider and taller than the area around it.

Line 10: this content is wider and taller than the area around it.

Line 11: this content is wider and taller than the area around it.

Line 12: this content is wider and taller than the area around it.

Line 13: this content is wider and taller than the area around it.

Line 14: this content is wider and taller than the area around it.

Line 15: this content is wider and taller than the area around it.

Line 16: this content is wider and taller than the area around it.

Line 17: this content is wider and taller than the area around it.

Line 18: this content is wider and taller than the area around it.

Line 19: this content is wider and taller than the area around it.

Line 20: this content is wider and taller than the area around it.

Line 21: this content is wider and taller than the area around it.

Line 22: this content is wider and taller than the area around it.

Line 23: this content is wider and taller than the area around it.

Line 24: this content is wider and taller than the area around it.

Line 25: this content is wider and taller than the area around it.

Line 26: this content is wider and taller than the area around it.

Line 27: this content is wider and taller than the area around it.

Line 28: this content is wider and taller than the area around it.

Line 29: this content is wider and taller than the area around it.

Line 30: this content is wider and taller than the area around it.

Fits exactly: the scroll bar stays empty and white.

  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5
  • Item 6
  • Item 7
  • Item 8
  • Item 9
  • Item 10
  • Item 11
  • Item 12
  • Item 13
  • Item 14
  • Item 15
  • Item 16
  • Item 17
  • Item 18
  • Item 19
  • Item 20
  • Item 21
  • Item 22
  • Item 23
  • Item 24

Info

Files:
components/ui/scroll-area.tsx
Uses:
@s7ui/theme, @s7ui/pixel-glyphs
Packages:
—