On this page

Design

Design Beehexa screens from the same tokens, components and rules that developers build with, so what you hand off is what ships.

A design that uses 15 px padding and a grey picked by eye looks fine in the file. In code, it becomes a one-off value nobody can find again, and the next screen drifts a little further. When every value in a design is a token and every control is a component, developers build exactly what you drew.

Design with tokens and components first. Draw something new only when nothing in the system fits.

Start from the foundations

  • Use a token for every value: colour, type, spacing, radius, shadow and motion. See Tokens overview.
  • Pick the role, not the look. Choose color.text.subtle for secondary text, not the grey that looks right.
  • Missing a value? Ask the design system team for a token instead of adding a one-off value.

Use components first

Check Components before you draw a new control. Each component page shows when to use it, when to choose something else, and how it looks in every state. If a component almost fits, ask before you change it: a small change for one screen splits the system in two.

Design every state

Show hover, focus, pressed, selected and disabled for every interactive element, and the empty, loading and error states of every screen. See Interaction states and Messages.

Write the words

Words are part of the design. Use real text, not placeholder text, and follow the content guidelines: sentence case, buttons that start with a verb, and the words in Terms. Check the screen in Vietnamese too: it is often longer, and its marks need more line height.

Check accessibility early

Beehexa products meet WCAG 2.2 AA. Fixing contrast or focus order in a design takes minutes; fixing it in code after release takes far longer. Read the accessibility guidelines and the Accessibility tab of each component you use.

Before handoff

Answer yes to every question before you hand a design to development.

  • Is every colour a role token, with no hex values or scale steps?
  • Is text and every icon on a background it is paired with?
  • Is yellow used only for the logo, the current-page bar, highlights and brand notes?
  • Is there at most one primary button in each view?
  • Is every status written in words, and does every selected item have a second cue besides colour?
  • Does every interactive element show all its states, including focus?
  • Did you check the screen in light and dark, and in Vietnamese?
  • Does it work at 320 px wide, with no sideways scrolling?
  • Develop: how developers use the same tokens.
  • Layout: the app frame, grid and page widths.