Pilipinas Interface

Foundation

  • Overview
  • Get Started
  • Colors
  • Typography
  • Icons
  • Layout & Spacing
  • States & Feedback
  • Motion & Transitions
  • Expressions

Components

  • Overview
  • Accordion
  • Alert
  • Avatar
  • Badge
  • Banner
  • Breadcrumb
  • Button
  • Card
  • Checkbox
  • Code Block
  • Combobox
  • Command Menu
  • Dialog
  • Popover
  • Progress
  • Radio Group
  • Scroll Area
  • Select
  • Skeleton
  • Switch
  • Table
  • Tabs
  • Text Field
  • Tooltip

Resources

  • Registry

Foundation

States & Feedback

An interface has to say where it is, what happened, and what a person can do next. Pilipinas Interface names those conditions once so components and patterns do not invent their own.

The vocabulary

These are interface conditions, not component variants. A component may express several of them; a pattern composes them into a flow.

  • Default — the resting condition, with the next action visible.
  • Loading — work is in progress and the result is not known yet.
  • Empty — there is legitimately nothing to show yet.
  • Error — something failed and needs correction or retry.
  • Success — the action completed; keep a reference if one exists.
  • Disabled — the control exists but cannot be used right now.
  • Offline — connectivity is interrupted; saved work is not lost.
  • Pending — accepted but not final, such as an application under review.

Principles

  • Say the condition in words. Status color is reinforcement, never the only signal.
  • Keep the recovery action next to the message: retry, edit, or view the reference.
  • Preserve what the person typed. An error must never clear the form.
  • Announce changes without stealing focus. Validation errors are the exception and are linked to the field.
  • A state that takes effect later should say when and where to check back.

Status hues and their semantic meaning live in Colors. The optional urgency classes for public advisories are described in Expressions.

Loading and pending

Use loading only while the result is genuinely unknown. Button has a loading state that blocks repeat submission; keep the label or add a plain status line rather than replacing the whole screen with a spinner. Pending is different: the request was accepted, so show a reference, what happens next, and where to check. A Badge can carry the short pending label.

Empty and error

An empty state explains why the list is empty and offers the one action that fills it. TableEmpty and ComboboxEmpty implement this. An error says what failed, whether data was kept, and how to retry. Field-level errors belong in FieldError, tied to the control with aria-describedby and announced with role="alert".

Success and validation

Confirm the action, then give the durable detail: a reference number, a date, or the next step. Do not celebrate routine submissions with animation. For validation, describe the correction in the sentence (“Enter 12 digits as printed on your card”) instead of a code or a generic “Invalid input”.

Disabled and unavailable

A disabled control still needs a reason. Put the condition beside it: a date, a missing prerequisite, or a permission. Do not rely on a grey fill alone, and do not disable a submit button without telling the form what is missing. Checkbox uses an indeterminate mark for a partial select-all, which is a selection state rather than a disabled one.

Connectivity and recovery

Filipino usage is often mobile, shared and interrupted. Save work locally, make retry an explicit action, and distinguish “we could not reach the service” from “your submission failed”. The device and network constraints are recorded in Filipino Digital Context; the flow-level rules for progress and error handling are in Service Flow UX.

Try it

Switch conditions on one panel. Notice that the words and the recovery action change while the surrounding layout stays put.

One application is ready for review. Bring one valid ID when you claim it.

For review
state: default · status ink from Colors · recovery action kept visible

Related

Components implement these states: Banner, Text Field, Button, Table and Combobox. Contextual flows live under Patterns and Implementation.

← PreviousLayout & SpacingNext →Motion & Transitions