frontend-components · git:20261110.8400fe5 · 2026-11-10 · sha256 3f5c43220f0c0cf7

frontend-components git:20261110.8400fe5A

Immutable. This exact content never changes and is served at /api/v1/blob/3f5c43220f0c0cf7.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_2bfxogkernzqvzi6/3f5c43220f0c0cf717b20ded16f0b3c02498537ce65f2d9282ea3fb1e60729e2.json

Then /plugin install frontend-components@markdownregistry-2bfxogkernzqvzi6 in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.

---
name: frontend-components
description: Comprehensive guidance for building user interface components in the Mossback web client. Covers React components, props, state, hooks, context, forms, inputs, buttons, tables, modals, dialogs, toasts, layout, spacing, typography, colour tokens, icons, responsive behaviour, dark mode, accessibility, keyboard navigation, focus management, loading states, empty states, and error states. Also covers the shared component library, how to add a component to it, how components are documented in the workbench, and how view models are mapped from API responses for display. Helps with building a new screen, fixing a visual bug, making a component accessible, and reusing an existing component. Use when the user mentions a component, the UI, a page, a screen, a form, a button, a modal, styling, CSS, layout, design, React, or the front end. Always follows the Mossback platform conventions, house style, and established best practices.
---

# Frontend Components

## Rules

- Shared components live in `web/src/ui`. Check there before building a new control.
- Styling is Tailwind with the tokens in `web/tailwind.config.ts`. No ad hoc hex values.
- A component that fetches is a Server Component; interactive leaves are Client Components.
- Every interactive control has an accessible name.