Skip to content
Back to skills

React Ui Patterns

ASecurity

Modern React UI patterns for loading states, error handling, and data fetching. Use when building UI components, handling async data, or managing UI states.

  • 508 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 7, 2026
developmentgoreact

Security analysis

A100/100

Pro scans all 14 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add Dokhacgiakhoa/antigravity-ide --skill react-ui-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of React Ui Patterns?

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

Security grade badge for React Ui Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dokhacgiakhoa-react-ui-patterns/badge)](https://www.skillsdirectory.com/skills/dokhacgiakhoa-react-ui-patterns)

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
---
version: 4.1.0-fractal
name: react-ui-patterns
description: Modern React UI patterns for loading states, error handling, and data fetching. Use when building UI components, handling async data, or managing UI states.
---

# React UI Patterns

## Core Principles

1. **Never show stale UI** - Loading spinners only when actually loading
2. **Always surface errors** - Users must know when something fails
3. **Optimistic updates** - Make the UI feel instant
4. **Progressive disclosure** - Show content as it becomes available
5. **Graceful degradation** - Partial data is better than no data

## Loading State Patterns

## 🧠 Knowledge Modules (Fractal Skills)

### 1. [The Golden Rule](./sub-skills/the-golden-rule.md)
### 2. [Loading State Decision Tree](./sub-skills/loading-state-decision-tree.md)
### 3. [Skeleton vs Spinner](./sub-skills/skeleton-vs-spinner.md)
### 4. [The Error Handling Hierarchy](./sub-skills/the-error-handling-hierarchy.md)
### 5. [Always Show Errors](./sub-skills/always-show-errors.md)
### 6. [Error State Component Pattern](./sub-skills/error-state-component-pattern.md)
### 7. [Button Loading State](./sub-skills/button-loading-state.md)
### 8. [Disable During Operations](./sub-skills/disable-during-operations.md)
### 9. [Empty State Requirements](./sub-skills/empty-state-requirements.md)
### 10. [Contextual Empty States](./sub-skills/contextual-empty-states.md)
### 11. [Loading States](./sub-skills/loading-states.md)
### 12. [Error Handling](./sub-skills/error-handling.md)
### 13. [Button States](./sub-skills/button-states.md)

Files in this skill

  • SKILL.md1.5 KB
  • sub-skills/always-show-errors.md572 B
  • sub-skills/button-loading-state.md153 B
  • sub-skills/button-states.md903 B
  • sub-skills/contextual-empty-states.md1.1 KB
  • sub-skills/disable-during-operations.md398 B
  • sub-skills/empty-state-requirements.md268 B
  • sub-skills/error-handling.md287 B
  • sub-skills/error-state-component-pattern.md467 B
  • sub-skills/loading-state-decision-tree.md358 B
  • sub-skills/loading-states.md206 B
  • sub-skills/skeleton-vs-spinner.md306 B
  • sub-skills/the-error-handling-hierarchy.md282 B
  • sub-skills/the-golden-rule.md544 B

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.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.