Constants and localization
Constants store shared design values (colors, images, font sizes, radius, spacing) and localizations store translated text per language. Define them once under Design systems; the properties panel then suggests them, so the exported code references the constant instead of a hard-coded value.
1. Create constants
- Colors Constant
- Images Constant
- FontSize Constant
- Radius Constant
- Spacing Constant
- Localizations Constant
- Input Key
- Input Value
- Delete
- Add new constant
2. Create localizations
- Click localization
- Input key
- Select language
- Input value
- Create new localize
- Delete
- New localization
3. Using constant
- Suggest Spacing
- Suggest Color
- Suggest Image
- Suggest Localizations