Surfaces & Patterns

Reusable surface wrappers, tone modifiers, status indicators, and pre-built component classes.

Surface Classes

Wrappers that provide consistent card-like appearance with borders, radius, and background.

Class Description Usage
.uc-surface-card Bordered card with radius and surface background Wrapping content blocks, settings panels
.uc-surface-card--clip Surface card with overflow hidden Cards with images or content that should clip at edges
.uc-table-wrap Surface card for tables with overflow hidden Wrapping tables and data grids
Surface Card
.uc-surface-card — bordered container with surface background
Table Wrap
.uc-table-wrap — same as surface card, with overflow hidden

Tone Modifiers

Apply semantic coloring for info, success, warning, and danger states.

html
Informational tone .uc-tone-info
Success / positive tone .uc-tone-success
Warning / caution tone .uc-tone-warning
Error / danger tone .uc-tone-danger
<!-- Tone modifiers add bg, border, and text color -->
<div class="uc-alert uc-tone-info">Info message</div>
<div class="uc-alert uc-tone-success">Success message</div>
<div class="uc-alert uc-tone-warning">Warning message</div>
<div class="uc-alert uc-tone-danger">Error message</div>

Status Indicators

Small pills and dots for showing state in tables, lists, and cards.

html
Active
Offline
Pending
In Review
<div class="uc-status-pill uc-tone-success">
  <span class="uc-status-dot"></span>
  Active
</div>

<div class="uc-status-pill uc-tone-danger">
  <span class="uc-status-dot"></span>
  Offline
</div>

Table Styling

Use uc-table inside uc-table-wrap for consistent data tables.

html
Name Status Role
Alice Johnson Active Admin
Bob Smith Pending Editor
Carol White Offline Viewer
<div class="uc-table-wrap">
  <table class="uc-table">
    <thead>
      <tr>
        <th>Name</th>
        <th>Status</th>
        <th>Role</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>Alice</td>
        <td>Active</td>
        <td>Admin</td>
      </tr>
    </tbody>
  </table>
</div>

Component Class Reference

Quick reference of all pre-built component classes defined in the system.

Group Classes
Button
.uc-btn.uc-btn-primary.uc-btn-secondary.uc-btn-bordered.uc-btn-clear.uc-btn-danger.uc-btn-link.uc-btn-sm.uc-btn-lg.uc-btn-icon
Input
.uc-input.uc-input-error.uc-textarea.uc-textarea-error.uc-label
Card
.uc-card.uc-card-header.uc-card-body.uc-card-footer
Badge
.uc-badge.uc-badge-primary.uc-badge-secondary.uc-badge-bordered.uc-badge-danger.uc-badge-success.uc-badge-warning
Alert
.uc-alert.uc-alert-info.uc-alert-success.uc-alert-warning.uc-alert-danger
Avatar
.uc-avatar.uc-avatar-sm.uc-avatar-md.uc-avatar-lg.uc-avatar-xl
Tabs
.uc-tabs-list.uc-tabs-trigger.uc-tabs-list-underline.uc-tabs-trigger-underline
Separator
.uc-separator.uc-separator-h.uc-separator-v
Progress
.uc-progress.uc-progress-bar
Skeleton
.uc-skeleton.uc-skeleton-circle
Dialog
.uc-dialog-overlay.uc-dialog
Toast
.uc-toast
Tooltip
.uc-tooltip
Scroll
.uc-scroll.uc-scroll-hidden.uc-scroll-autohide.uc-scroll-indicator.uc-scroll-indicator-h