tezvyn:

Documentation for a new Card component

Source: interviewintermediate

WHAT IT TESTS: complete component docs, not just an API table. OUTLINE: usage guidance and do/don't, variants, accessibility, code examples, composition. RED FLAG: shipping only a props table with no when-to-use, accessibility, or examples.

WHAT IT TESTS: whether you know what makes component docs genuinely usable. ANSWER OUTLINE: beyond the props table, include an overview of purpose and when to use versus alternatives, do and don't usage guidance, variants and states with examples, accessibility notes, live code snippets, composition and slot guidance, and design specs like spacing and tokens. RED FLAG: a bare props table with no usage guidance, no examples, and no accessibility section.

Read the original → interview

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.

Documentation for a new Card component · Tezvyn