States are visual representations used to communicate the status of a component or interactive element.
Note: ‘Component’ used below implies ‘interactive component’.
A component is in default state when it is not interacted with.
Consider it as 0 for reference point.
Default state
A component transitions into hover state when the cursor is placed over it.
+1 (slightly darker) for background color and content such as text (wherever applicable).
Hover state
A component transitions into active state when it is being pressed.
+2 (moderately darker) for background color.
Active state
A component transitions into focus state when it is highlighted by the user using a mouse, keyboard or voice input. This state indicates that the component is ready to interact with.
Focus ring of 3px border, outside.
Focus state
A component transitions into disabled state when it cannot be interacted with.
-2 (moderately lighter) for background.
Disabled state
A component transitions into loading state if the action needs to be processed before proceeding.
-2 (moderately lighter) for background and spinner in place of content.
Loading state
A component transitions into selected state when it is selected as an option out of many. The selected state should have medium emphasis so that it’s noticeable but not distracting.
Jal/Lightest at 48% opacity for background color and Jal/Dark for text(wherever applicable)
Selected state
A component transitions into activated state when a view associated with it is currently being viewed.
Jal/Lightest for background color and Jal/Dark for text(wherever applicable)
Activated state
A component transitions into dragged state when it is picked to move around.
Dragged state
Interactive states of Basic button
Interactive states of Primary button
Interactive states of Selection chip in default state
Interactive states of Selection chip in selected state