H4 / Date and selection

PayLens Design System

The production foundation for clear, secure compensation workflows. Every example below is a shared component used exactly as feature code will use it.

Brand identity

PayLens visual system

Full / light

PayLens

Full / dark

Compact

PayLens

Mark / favicon

#FC4C02#EF2CC1#BDBBFF#3455FF#010120#000000#FFFFFF

01 / Foundations

The system starts with contrast

A four-pixel rhythm, hairline borders, geometric display type, and mono utility labels anchor every surface.

Active theme

light mode

Canvas

Soft

Dark

Mint

Periwinkle

Display / Mono

Compensation deserves clarity.

Narrative type stays calm and direct. Technical labels use mono, uppercase, and positive tracking.

02 / Actions

Actions with a clear hierarchy

Buttons use the canonical mono label treatment, explicit hierarchy, and visible keyboard focus.

Variants

Sizes and states

Icon composition

Icon buttons

03 / Data display

Structure without visual noise

Compact semantic markers and composable surfaces keep employee and compensation information scannable.

Badges

ActiveBlockedReviewPendingPrimary

Avatars

AJAJAJCEImage avatar exampleFallback after image failure

Compensation review

Product engineering

Card slots keep header, content, and footer responsibilities explicit without a prop-heavy API.

Updated todayReady

Tables

Semantic, responsive tables support identity cells, interactive actions, loading, and empty states without a separate table framework.

MemberStatusActions
AJAvery Johnson[email protected]Active
MemberStatusActions
Loading data.
MemberStatusActions
No members found.

04 / Feedback

Feedback that explains itself

Alerts state their meaning in words, while the global event bridge gives every feature one consistent toast path.

Information

Salary history is shown in effective-date order.

Success

Compensation changes were saved and audited.

Neutral

No compensation changes are pending.

dark

Sensitive fields remain hidden without permission.

Primary

The next review cycle opens on October 1.

Global toasts

05 / Overlay

Context, close to the control

Radix supplies positioning, focus, and keyboard behavior while PayLens supplies the visual contract.

06 / Form controls

Forms that stay out of your way

Shared form controls use consistent labels, validation, focus treatment, sizing, and light/dark surfaces while remaining easy to compose with application form state.

Searches are scoped by the feature that uses this control.

Use a unique field name.

Enter a valid email address.

Use your account password.

Password resets are unavailable.

The code expired.

This preserves native textarea resize behavior.

Notes are locked.

Default access

07 / Disclosure

Details when they matter

Disclosures use Radix keyboard semantics and a restrained chevron treatment for dense HR guidance.

Use concise, durable labels so people can scan review decisions without opening every detail.

Use concise, durable labels so people can scan review decisions without opening every detail.

Longer information remains contained within the disclosure panel and wraps naturally on small screens.

09 / Overlays

Keep tasks focused

Modal and drawer surfaces share a coherent layer scale while preserving their distinct decision and contextual-workflow roles.

10 / Date and selection

Choose with confidence

Date-only values stay predictable through the shared Day.js utility, while accessible calendar and rating controls retain the same input scale and surface language.

Date picker

Choose a valid review date.

Date range picker

Rate

Selected rating: 3 of 5