UI Interface
Tables
From simple lists to editable data grids. Each pattern is built on sx-table with small modifiers; open Code to copy the markup.
Basic table
Wrap in sx-table-wrap so wide tables scroll inside the card.
| Invoice | Customer | Issued | Amount |
|---|---|---|---|
| INV-2048 | Northwind Traders | Nov 02, 2026 | $4,820.00 |
| INV-2049 | Redwood Labs | Nov 04, 2026 | $1,260.50 |
| INV-2050 | Harbor & Pine | Nov 07, 2026 | $9,400.00 |
| INV-2051 | Lumen Studio | Nov 09, 2026 | $2,175.25 |
Striped, hoverable and bordered
Combine modifiers on the same table.
Striped
| Plan | Seats |
|---|---|
| Starter | 3 |
| Team | 24 |
| Business | 112 |
| Enterprise | 480 |
Hoverable
| Region | Orders |
|---|---|
| North America | 8,420 |
| Europe | 6,115 |
| Asia Pacific | 4,902 |
| Latin America | 1,873 |
Bordered
| Tier | Price |
|---|---|
| Basic | $9 |
| Pro | $29 |
| Scale | $79 |
| Custom | Contact |
Density toggle
Switch between compact and comfortable row heights.
| Task | Owner | Status | Due |
|---|---|---|---|
| Redesign onboarding | Avery Collins | In progress | Nov 18 |
| Billing migration | Marcus Reyes | Review | Nov 21 |
| Q4 security audit | Priya Nair | Done | Nov 10 |
| Partner API docs | Jonas Weber | Backlog | Dec 02 |
Sticky header with scroll
The header row stays visible while the body scrolls inside a fixed-height wrapper.
| Order | Customer | Channel | Total |
|---|---|---|---|
| #10421 | Hannah Ortiz | Web | $128.00 |
| #10422 | Liam Chen | Mobile | $64.90 |
| #10423 | Sofia Rossi | Web | $312.40 |
| #10424 | Noah Patel | Marketplace | $89.00 |
| #10425 | Emma Larsen | Web | $45.50 |
| #10426 | Omar Haddad | Mobile | $210.75 |
| #10427 | Chloe Martin | Web | $17.99 |
| #10428 | Kenji Sato | Marketplace | $402.10 |
| #10429 | Ava Johnson | Web | $76.25 |
| #10430 | Diego Alvarez | Mobile | $154.00 |
Sortable columns
Click a header to sort ascending, again for descending. Numbers sort numerically.
| Product | Category | Units | Revenue |
|---|---|---|---|
| Aero Desk Lamp | Lighting | 1,240 | $38,440 |
| Nimbus Chair | Furniture | 386 | $96,500 |
| Folio Notebook | Stationery | 5,820 | $29,100 |
| Pulse Speaker | Audio | 912 | $72,960 |
| Terra Planter | Home | 2,104 | $31,560 |
Selectable rows with bulk bar
Header checkbox selects all and shows indeterminate; the bulk bar appears when rows are selected.
| Contact | Company | Stage | |
|---|---|---|---|
| Hannah Ortiz | Brightpath | Won | |
| Liam Chen | Orbit Foods | Proposal | |
| Sofia Rossi | Vela Studio | Negotiation | |
| Noah Patel | Kite Analytics | Lead |
Expandable rows
A disclosure button reveals a detail row beneath (aria-expanded).
| Shipment | Route | Status | |
|---|---|---|---|
| SH-7731 | Rotterdam to Chicago | In transit | |
| 12 pallets · Carrier Meridian Freight · ETA Nov 19, 2026 · Last scan: Atlantic hub, Nov 11. | |||
| SH-7732 | Shenzhen to Los Angeles | Customs hold | |
| 40 cartons · Carrier Pacific Link · Awaiting documents since Nov 10, 2026. | |||
| SH-7733 | Hamburg to Toronto | Delivered | |
| 6 pallets · Signed by J. Weber on Nov 08, 2026 at 14:20. | |||
Avatars, progress, badges and actions
A realistic team table using kit components inside cells.
| Member | Role | Workload | Status | Actions |
|---|---|---|---|---|
![]() Avery Collinsavery@northwind.io | Product lead | 82% | Active | |
![]() Marcus Reyesmarcus@northwind.io | Engineer | 56% | Active | |
![]() Priya Nairpriya@northwind.io | Designer | 34% | Away | |
![]() Jonas Weberjonas@northwind.io | Support | 95% | Overloaded |
Search, pagination and column visibility
Filters the static rows, pages them five at a time and toggles columns.
| Customer | Company | Country | MRR |
|---|---|---|---|
| Hannah Ortiz | Brightpath | United States | $1,240 |
| Liam Chen | Orbit Foods | Canada | $860 |
| Sofia Rossi | Vela Studio | Italy | $2,100 |
| Noah Patel | Kite Analytics | India | $540 |
| Emma Larsen | Fjord Labs | Norway | $1,780 |
| Omar Haddad | Souk Digital | UAE | $990 |
| Chloe Martin | Atelier Nord | France | $720 |
| Kenji Sato | Hikari Works | Japan | $3,050 |
| Ava Johnson | Maple Logistics | United States | $1,415 |
| Diego Alvarez | Sol Energy | Spain | $660 |
| Greta Novak | Linden Health | Germany | $1,925 |
| Tariq Aziz | Crescent Pay | United Kingdom | $2,380 |
Try a different name or clear the search.
Responsive: scroll or stacked cards
Left: horizontal scroll inside the wrapper. Right: tb-stack turns rows into labelled cards under 640px (resize to see).
| Ticket | Subject | Priority | Assignee | Updated |
|---|---|---|---|---|
| T-3301 | Cannot export CSV | High | Jonas | 2h ago |
| T-3302 | Update billing email | Low | Priya | 5h ago |
| Ticket | Subject | Priority | Assignee |
|---|---|---|---|
| T-3301 | Cannot export CSV | High | Jonas |
| T-3302 | Update billing email | Low | Priya |
Empty state and loading skeleton
Use skeleton rows while data loads; show an empty state with a call to action when there is none.
| Name | Plan | Joined |
|---|---|---|
| Hannah Ortiz | Team | Nov 03, 2026 |
| Liam Chen | Starter | Nov 06, 2026 |
| Sofia Rossi | Business | Nov 09, 2026 |
Invoices you create will show up here.
Data grid with inline editing and totals
Click a quantity or price, type a new number and press Enter. Row amounts and the footer total recalculate.
| Item | Qty | Unit price | Amount |
|---|---|---|---|
| Design sprint workshop | 2 | 1800 | $3,600.00 |
| Frontend development (hours) | 64 | 95 | $6,080.00 |
| Hosting and CDN (months) | 12 | 49 | $588.00 |
| Total due | $10,268.00 | ||
Usage tips and accessibility
- Right-align numeric columns with
is-numand usesx-numfor tabular figures. - Keep the toolbar above the table and pagination below, both inside the same card.
- Prefer horizontal scroll for dense data and stacked cards for 3-5 column lists.
- Use real
<th>cells; sortable headers expose state througharia-sort. - Every row checkbox and icon button needs an
aria-label. - Status is never color-only: badges carry a text label.


