Skip to content
Back to skills

Rendering Content Visibility

ASecurity

Imported skill rendering_content_visibility from vercel

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
researchreact

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add bitwikiorg/skills.md --skill rendering_content_visibility --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rendering Content Visibility?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rendering Content Visibility
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bitwikiorg-rendering-content-visibility/badge)](https://www.skillsdirectory.com/skills/bitwikiorg-rendering-content-visibility)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Imported skill rendering_content_visibility from vercel
name: rendering_content_visibility
signature: 64eee6d5b916fe74df33363994b27fc7f71bea3bcedc7ee04bda23107ca3e6e4
source: /a0/tmp/skills_research/vercel/skills/react-best-practices/rules/rendering-content-visibility.md
---

---
title: CSS content-visibility for Long Lists
impact: HIGH
impactDescription: faster initial render
tags: rendering, css, content-visibility, long-lists
---

## CSS content-visibility for Long Lists

Apply `content-visibility: auto` to defer off-screen rendering.

**CSS:**

```css
.message-item {
  content-visibility: auto;
  contain-intrinsic-size: 0 80px;
}
```

**Example:**

```tsx
function MessageList({ messages }: { messages: Message[] }) {
  return (
    <div className="overflow-y-auto h-screen">
      {messages.map(msg => (
        <div key={msg.id} className="message-item">
          <Avatar user={msg.author} />
          <div>{msg.content}</div>
        </div>
      ))}
    </div>
  )
}
```

For 1000 messages, browser skips layout/paint for ~990 off-screen items (10× faster initial render).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…