Replies: 1 comment
-
Naming/Properties to FixIndividual review for each component that needs changes. Tick the checkbox when done.
|
| # | Category | Current | Change to | Done |
|---|---|---|---|---|
| 1 | Naming | _Badge |
_Badge [EDS] — add missing suffix |
- [ ] |
| 2 | Variant value | Statut |
Status — fix typo |
- [ ] |
| 3 | Tone value | Error |
Danger — align with Button, Banner, Chip |
- [ ] |
| 4 | Style value | Solid |
Default — align with Chip convention, or keep Solid and document as intentional |
- [ ] |
_Chip [EDS]
Feedback: Tone uses raw colour names instead of semantic names. State is missing
Disabled. Style valueHigh contrasthas inconsistent casing.
| # | Category | Current | Change to | Done |
|---|---|---|---|---|
| 5 | Tone value | Green |
Success |
- [ ] |
| 6 | Tone value | Blue |
Info |
- [ ] |
| 7 | Tone value | Orange |
Warning |
- [ ] |
| 8 | Tone value | Red |
Danger |
- [ ] |
| 9 | State values | Default, Hover, Focus, Active |
Add Disabled as last value |
- [ ] |
| 10 | Style value | High contrast |
High Contrast — Title Case |
- [ ] |
Button [EDS] / ⌘ Button
Feedback: Inner
⌘ ButtonState is missingFocus— this is an interactive element that should support focus indication. State should use the Extended set.
| # | Category | Current | Change to | Done |
|---|---|---|---|---|
| 11 | State values | Default, Hover, Active, Disabled |
Add Focus → Default, Hover, Focus, Active, Disabled |
- [ ] |
Icon Button [EDS]
Feedback: Should mirror whatever decision is made for
⌘ Button. Verify inner helper has same State set.
| # | Category | Current | Change to | Done |
|---|---|---|---|---|
| 12 | State | Mirror ⌘ Button |
Ensure inner helper matches Button changes | - [ ] |
Text Field [EDS]
Feedback: Typo in nested text property name
Text Decription(missing 'i'). Otherwise well-structured with Label, Description, Validation, and Adornments.
| # | Category | Current | Change to | Done |
|---|---|---|---|---|
| 13 | Property name | Text Decription |
Text Description — fix typo |
- [ ] |
Checkbox [EDS]
Feedback: Multiple naming issues: negative boolean, missing prefix, wrong casing, and a typo in a variable name.
| # | Category | Current | Change to | Done |
|---|---|---|---|---|
| 14 | Boolean name | No Label |
Show Label — invert to avoid negative booleans |
- [ ] |
| 15 | Boolean name | Show focus frame |
Show Focus Frame — Title Case |
- [ ] |
| 16 | Boolean name | Indeterminate |
Is Indeterminate — add Is prefix for state booleans |
- [ ] |
| 17 | Variable name | 🪐 Horisontal gap |
🪐 Horizontal Gap — fix typo + Title Case |
- [ ] |
Radio Button [EDS]
Feedback: Same
Show focus framecasing issue as Checkbox.
| # | Category | Current | Change to | Done |
|---|---|---|---|---|
| 18 | Boolean name | Show focus frame |
Show Focus Frame — Title Case |
- [ ] |
Switch [EDS]
Feedback: Same
Show focus framecasing issue as Checkbox and Radio.
| # | Category | Current | Change to | Done |
|---|---|---|---|---|
| 19 | Boolean name | Show focus frame |
Show Focus Frame — Title Case |
- [ ] |
_Menu [EDS]
Feedback: Boolean property
Scroll baris missing theShowprefix and is not capitalised correctly.
| # | Category | Current | Change to | Done |
|---|---|---|---|---|
| 20 | Boolean name | Scroll bar |
Show Scroll Bar — add prefix + Title Case |
- [ ] |
Tab (WIP)
Feedback: Still in progress. Example section shows
Confortable— fix the typo before publishing.
| # | Category | Current | Change to | Done |
|---|---|---|---|---|
| 21 | Example label | Confortable |
Comfortable — fix typo |
- [ ] |
Card (WIP)
Feedback: Still in progress. Same
Confortabletypo as Tab. When building the component set, follow the rules above for State, Tone, and naming.
| # | Category | Current | Change to | Done |
|---|---|---|---|---|
| 22 | Example label | Confortable |
Comfortable — fix typo |
- [ ] |
Components with no changes needed
These components follow the current rules correctly:
| Component | Notes |
|---|---|
_Tooltip [EDS] |
Tip Position (Dropdown: Bottom, Right, Left, Top), Text (Text) |
_Banner [EDS] |
Tone (Dropdown: Info, Warning, Danger), nested ⌘ Banner, ⌘ Button |
_Snackbar [EDS] |
Show Button (Boolean), nested Button [EDS], 🪐 Selectable Space (Variable: SM) |
_Link [EDS] |
No variant props, nested Type instance only |
_Accordion [EDS] |
State (Dropdown: Default, Hover, Disabled), nested ⌘ Accordion |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Rules for consistent property organisation across all components in the EDS Core Components Figma library.
1. Summary of Rules
1.1 Naming
[EDS]suffixComponentName [EDS]or_ComponentName [EDS]Button [EDS],_Chip [EDS]⌘prefix⌘ ComponentName⌘ Button,⌘ InputShow Focus Frame, notShow focus frame1.2 Dropdown Properties
Dropdowns are Variant properties in Figma — the user picks one value from a predefined list.
Default,Hover,DisabledDefault,Hover,Focus,Active,Disabled⌘ Button), ChipDefault,Hover,Focus,Active,Filled,Read-only,Disabled⌘ Input)Accent,Neutral,DangerButton [EDS]— Accent = primary action colour, Neutral = subdued, Danger = destructiveInfo,Warning,Danger_Banner [EDS]— Info = blue, Warning = orange, Danger = redDefault,Neutral,Accent,Success,Warning,Danger,Info_Chip [EDS]— all semantic tones availablePrimary,Secondary,Ghost⌘ Button— Primary = filled/emphasis, Secondary = outlined, Ghost = text-onlyDefault,Checked,Deletable,Dropdown,💠 Custom_Chip [EDS]— functional chip typesLabel,Status_Badge— label badge vs status indicatorDefault,Outlined_Badge— solid fill vs border-onlyDefault,Outlined,High Contrast_Chip [EDS]— High Contrast for accessibilityLow,Medium,High_Badge— Low = subtle, High = attention-grabbingDefault,Error⌘ Input— Default = no validation feedback, Error = red border + error messageBottom,Right,Left,Top_Tooltip [EDS]1.3 Boolean Properties
Booleans are on/off toggles in Figma — they show or hide an element, or flip a component between two states.
Showprefix — Visibility togglesControls whether an optional element is visible.
Show Leading Icon⌘ Button— e.g. a "+" icon before "Add item"Show Trailing Icon⌘ Button— e.g. a chevron after "Select"Show Focus Frame⌘ Button,Checkbox [EDS],Radio Button [EDS],Switch [EDS]Show Button_Snackbar [EDS]— optional "Undo" buttonShow LabelCheckbox [EDS]— hide label for icon-only useShow Scroll Bar_Menu [EDS]DescriptionText Field [EDS]— help text under the field labelHelper Message⌘ Input— e.g. "This field is required"Optional/RequiredText Field [EDS]— e.g. "Email (Required)"Information IconText Field [EDS]Left Adornment⌘ Input— e.g. a search icon, a "$" prefixRight Adornment⌘ Input— e.g. a clear button, a unit suffixFocus Frame⌘ InputIsprefix — State togglesControls the active/checked state of a component.
Is CheckedCheckbox [EDS]— ticked,Radio Button [EDS]— filled,Switch [EDS]— onIs IndeterminateCheckbox [EDS]— parent checkbox with mixed children1.4 Text Properties
Text properties are editable string fields — the user types custom content.
LabelCheckbox [EDS]— "Accept terms",⌘ Button— "Submit"Text_Badge— "New",_Chip [EDS]— "Category",_Tooltip [EDS]— "More info"Placeholder⌘ Input— "Enter your email"↳ Helper Message TextHelper Messagetoggle.⌘ Input— "Must be a valid email address"Text DescriptionDescriptiontoggle.Text Field [EDS]— "We'll never share your email"1.5 Variable Properties
Variables are design tokens bound to Figma variables — they control theming, spacing, and sizing. All use emoji prefixes.
🎨AppearanceAccent,Neutral⌘ Button— changes fill + text colour per tone🪐Selectable SpaceSM,MD⌘ Button— MD = 36px touch target, SM = compact🪐Vertical SpaceXSText Field [EDS]— gap between label and input🪐Space ProportionsSquished⌘ Button— Squished = wider horizontal padding🪐Horizontal GapMDCheckbox [EDS]— gap between checkbox and label⭕️Border RadiusRounded⌘ Button,Checkbox [EDS],_Menu [EDS]🅰️Font and Icon SizeMD⌘ Button— MD = 16px text, SM = 14px🖼️Icon Size🅰️⌘ Button,Checkbox [EDS]1.6 Instance Swap Properties
Instance Swaps let the user replace a nested component with another from the library.
Item Container Slot_Menu [EDS]— swap in different menu item types2. Component Naming
ComponentName [EDS]Button [EDS]_ComponentName [EDS]_Chip [EDS]⌘ ComponentName⌘ Button,⌘ Input,⌘ Banner,⌘ AccordionAll components must include the
[EDS]suffix.3. Property Types
Every property must use the correct Figma property type:
State,Tone,VariantIsprefix —Is Checked,Is Expanded,Is IndeterminateShowprefix —Show Leading Icon,Show Focus FrameLabelfor form elements,Textfor display elements,Placeholderfor input hints↳ Helper Message Text,Text Description🎨 Appearance🪐 Vertical Space,🪐 Selectable Space,🪐 Space Proportions🪐 Horizontal Gap⭕️ Border Radius🅰️ Font and Icon Size,🖼️ Icon SizeItem Container Slot4. Standard Property Values
4.1 Variant (Dropdown) — Hierarchy
Controls visual weight / prominence of interactive elements.
Primary,Secondary,Ghost⌘ Button(inner helper, nested insideButton [EDS]andIcon Button [EDS])4.2 State (Dropdown) — Interaction states
All interactive components that expose a
Stateproperty must follow one of these sets:Default,Hover,DisabledDefault,Hover,Focus,Active,Disabled⌘ Button), ChipDefault,Hover,Focus,Active,Filled,Read-only,Disabled⌘ Input)4.3 Validation (Dropdown) — Input feedback
Separate from State. Controls the validation appearance of input components.
Default,Error⌘ Input(all input-based components: Text Field, Text Area, Search, Auto Complete, Select, ComboBox)4.4 Tone (Dropdown) — Semantic colour
Tone values must use semantic names, never raw colour names.
Accent,Neutral,DangerButton [EDS],Icon Button [EDS])Info,Warning,Danger_Banner [EDS])Default,Neutral,Accent,Success,Warning,Danger,Info_Chip [EDS])Accent,Success,Warning,Danger,Neutral,Info_Badge)4.5 Style (Dropdown) — Visual treatment
Default,OutlinedHigh Contrast4.6 Emphasis (Dropdown) — Visual weight
Low,Medium,High4.7 Booleans — Visibility & state toggles
ShowprefixShow Leading Icon,Show Trailing Icon,Show Focus Frame,Show ButtonShowprefixShow Label,Description,Helper Message,Optional/Required,Information IconIsprefixIs Checked,Is IndeterminateLeft/RightAdornmentLeft Adornment,Right Adornment4.8 Text properties
LabelTextPlaceholder⌘ Input)↳ Helper Message TextText DescriptionTip PositionBottom,Right,Left,Top)4.9 Variable bindings
All variable tokens use emoji prefixes and Title Case naming:
🎨AppearanceAccent,Neutral🪐Selectable SpaceSM,MD🪐Vertical SpaceXS🪐Space ProportionsSquished🪐Horizontal GapMD⭕️Border RadiusRounded🅰️Font and Icon SizeMD🖼️Icon Size🅰️ Font and Icon Size5. Full Component Property Reference
Complete property listing for every component, including inner helpers and variable bindings.
Button [EDS]Outer component set:
Accent,Neutral,Danger🎨 AppearanceInner
⌘ Buttonhelper:Primary,Secondary,GhostDefault,Hover,Active,Disabled⭕️ Border RadiusRounded🖼️ Icon Size🅰️🪐 Selectable SpaceMD🪐 Space ProportionsSquished🅰️ Font and Icon SizeMDIcon Button [EDS]Outer component set:
Accent,Neutral,Danger🎨 AppearanceText Field [EDS]Label + Description section:
Inner
⌘ Inputhelper:Default,Hover,Focus,Active,Filled,Read-only,DisabledDefault,Error🪐 Space ProportionsSquished🎨 AppearanceNeutralOuter wrapper:
🪐 Vertical SpaceXSCheckbox [EDS]Default,Hover,Disabled⭕️ Border RadiusRounded🖼️ Icon Size🅰️🪐 Horisontal gapMD🪐 Selectable SpaceMD🪐 Space ProportionsSquished🅰️ Font and Icon SizeMD🎨 AppearanceAccentRadio Button [EDS]Default,Hover,DisabledSwitch [EDS]Default,Hover,Disabled_BadgeAccent,Success,Warning,Error,Neutral,InfoLow,Medium,HighSolid,OutlinedLabel,Statut🎨 AppearanceAccent_Chip [EDS]Outer component set:
Neutral,Accent,Green,Blue,Orange,RedInner
_Chip:Default,Neutral,Accent,Green,Blue,Orange,RedDefault,Checked,Deletable,Dropdown,💠 CustomDefault,Outlined,High contrastDefault,Hover,Focus,Active_Banner [EDS]Info,Warning,Danger⌘ Banner⌘ Button_Tooltip [EDS]Bottom,Right,Left,Top_Snackbar [EDS]Button [EDS]🪐 Selectable SpaceSM_Menu [EDS]⭕️ Border RadiusRounded_Accordion [EDS]Default,Hover,Disabled⌘ Accordion_Link [EDS]Beta Was this translation helpful? Give feedback.
All reactions