Перейти к основному содержимому

Comments (flat, per-locale, moderated)

Generated from pattern-library/registry.json — do not edit by hand; change the registry and run bun run patterns:build.

Index card — the docs below are the canonical explanation; deep-tier pattern pages additionally carry invariants and emulation notes.

Category: Content & Blog · Tier: light · Maturity: proven (verified 2026-08-20 @ 1a130d67) · Risk: medium — persists user-generated content, moderation authority

A flat, per-locale comment system with a short author edit window and admin moderation (hide/unhide/remove).

When to use: Use when a content page needs reader comments with moderation controls rather than nested threads.

Docs

Code

Proof

  • blog (app route, no showcase) — Comment threads on blog posts

Machine-readable record: content-comments in pattern-library/registry.json.

← Back to Pattern Library

Думаете, этот паттерн можно сделать лучше? Расскажите как.

Оставить отзыв