Component Thumbnail
Component thumbnails are visual representations of the components in our design system. They serve as a quick reference for engineers and designers to understand the look and feel of a component without having to delve into the code or design details.
Creation guidelines
We use Figma for the creation of these thumbnails. You can find the relevant Figma file under Murray Design system/Components, specifically on the page titled 'Thumbnails'.
Here are some fundamental guidelines for creating an effective thumbnail:
- Follow the small graphic chart and use local components.
- Thumbnails should not display any text.
- Avoid making thumbnails too close to the design.
- Focus on semantics.
The goal of these thumbnails is to guide engineers and designers in finding the most suitable component for a specific context.
Deploy the thumbnail
After exporting the thumbnail from Figma as a PNG file, save it as frontend/apps/murray-doc/static/img/thumbnails/<Name>.png, where <Name> is the component name.