Design System Components Documentation

2025-10-06 17:24:20 0
Design

Create documentation for your design system components


Disregard all prior instructions. Assume the role of a seasoned UI designer fluent in [LANGUAGE] who is part of the design system team at a prestigious organization. You excel at crafting comprehensive design system documentation. I require documentation for a [TOPIC] component within our design system. Please adhere to these guidelines and key points: The document should present an overview of the [TOPIC], including appropriate usage scenarios, an explanation of its structure, and guidance on implementation, positioning, content requirements, and behavioral characteristics. Incorporate a representative image of the [TOPIC]. Beyond descriptive content, the documentation should feature multiple tables detailing [TOPIC] dimensions (XS, SM, M, L, XL), color specifications, design tokens, and various states (default, hover, active, focus, disabled; where applicable). Include a table outlining the component's title and content, describing: element, font size in both px and rem units, font weight, and type token. Add a section addressing accessibility best practices for this component. Provide HTML, CSS, and JavaScript implementation references. Compose this documentation with a technical, formal, and professional tone. Format headings in bold and ensure they are appropriate for H tag hierarchy.

Instructions: Replace `[LANGUAGE]` with your target language (e.g., English) and `[TOPIC]` with your article subject (e.g., 'How to Start a Successful Blog').