Writing Rules for the text inside components, such as button labels, dialog titles, toasts and empty states. All of it is in sentence case. The Slots table gives each kind of text its length and shape.
Rules button When a button's label names an action, write the verb and its object in sentence case, such as "Create event". link When a link leads somewhere, name the destination, such as "Foundations". dialog-title When a dialog asks for a decision or an edit, title it with the verb and the object, such as "Delete event", in sentence case with no period (a confirmation may end in a question mark, such as "Delete event?"). dialog-body When a dialog explains what will happen, write one or two full sentences in DialogDescription that name the object and say what cannot be undone, ending in a period. confirm-action When an alert dialog confirms a destructive action, its action button repeats the title's verb, such as "Delete event" under the title "Delete event". toast When a toast reports a result, write the object and a past-tense verb, such as "Invitation sent", in sentence case with no period and no exclamation mark. status When a control reports that it is working, use one word ending in -ing, such as "Saving", at most 20 characters. empty-title When a list is empty, the title names what is missing in the app's own words, such as "No mentors yet" or "Nothing saved yet". empty-body When an empty state has a description, write one EmptyDescription sentence of at most 120 characters, ending in a period, that says why the list is empty or how to add to it. field-label When a field is named, the label is the noun for what goes in it, such as "Email", in sentence case with no colon. placeholder When a field has a placeholder, make it an example such as "name@school.edu " and name the field with a Label or FieldLabel. tooltip When a control has only an icon, make its tooltip exactly its accessible name, a verb and its object such as "Copy link". heading When titling a page or section, write sentence case, such as "Priority order", with no end punctuation and no uppercase label above it. Across slots When a sentence needs a pause, end the sentence, and when a value is empty, write "None". When several facts sit on one line, put each in its own span with gap-3. When copy reports success, write the result as a plain phrase, such as "Changes saved". When copy needs emphasis or a mark, use a word or an icon from @/components/cobalt/icon. When copy could include a number, use a real count from the data, such as "3 drafts", or leave the number out. Previous Icons Next Theming