Skip to content
Mizen UI
Docs

IntroductionInstallationCLIStylingFoundationsThemingCompositionIntegrationsAccessibilityFor agents

useCopyToClipboard

AccordionAspect RatioCardCollapsibleFrameGridGroupInlineScroll AreaSectionSeparatorSpacerStack

BlockquoteCitationCodeHeadingKbdLabelLinkTextVisually Hidden

ButtonButton GroupToggleToggle groupToolbar

CalendarCheckboxCheckbox groupComboboxDate pickerDate range pickerDate-Time InputFieldFieldsetFile UploadFormInputInput groupNumber fieldOTP FieldRadio groupSelectSliderSwitchTextareaTime Input

BreadcrumbMenubarNavigation MenuPaginationSegmented ControlStepperTabs

Alert dialogCommandContext MenuDialogDrawerMenuPopoverPreview CardSheetTooltip

AlertBadgeEmptyError StateMeterProgressSkeletonSpinnerStatus dotToast

Activity FeedAvatarAvatar GroupData TableListMetricOverflow ListProperty ListTableTokenTree

Area ChartBar ListCalendar HeatmapCategory ComparisonChart FrameChart LegendChart TooltipDistributionFunnelHeatmapMetric TrendPart-to-WholeProgress RingsRadar ChartRadial BarsSankey ChartScatter ChartScore GaugeTime Series

Diagram

AttachmentCarouselCode BlockLightboxMarkdownThumbnailTimestamp

Agent ThinkingApproval CardComposerConversationInline CitationMessageMessage ScrollerQuestion CardSourcesStreaming TextSuggestionTask ListTerminalTool Call

On this page

  • Preview
  • Usage
  • Anatomy
  • Examples
  • Monthly operating budget
  • Recommendations
  • Usage boundaries
  • API reference

Data

Table

Composes native table markup inside a named scroll region; the application owns its records and calculations.

idle

Usage

import {
	Table,
	TableBody,
	TableCaption,
	TableCell,
	TableContainer,
	TableHead,
	TableHeader,
	TableRow,
} from "@mizen-labs/ui";

Anatomy

The parts and how they nest, taken from the preview above.

<TableContainer>
	<Table>
		<TableCaption />
		<TableHeader>
			<TableRow>
				<TableHead />
			</TableRow>
		</TableHeader>
		<TableBody>
			<TableRow>
				<TableHead />
				<TableCell />
			</TableRow>
		</TableBody>
	</Table>
</TableContainer>

Examples

Monthly operating budget

Recommendations

GuidancePractice
Do

Use row headers for identifying columns and align numeric values consistently.

Do

Keep wide records inside the named TableContainer scroll region.

Usage boundaries

GuidanceBoundary
Scope

Table provides semantic presentation, not sorting or row-selection state.

Scope

Use Data Table when the task needs filtering, sorting, selection, or virtualization.

API reference

Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.

PropTypeDefaultDescription
TableContainer aria-label / aria-labelledbystringRequiredNames the keyboard-scrollable region around the table.
TableContainer.scroll"horizontal" | "both""horizontal"Sets the scroll axes; two-axis scrolling is bounded to 28rem high.
Table / TableHeader / TableBody / TableFootertable / thead / tbody / tfoot—Compose native table sections. The header sticks by default.
Table.gridboolean | "interactive"falseSpreadsheet presentation: column rules and compact rows. "interactive" adds the ARIA grid role; use it only with a keyboard model, as DataTable does.
Table.width / TableContainer.focusablenumber / booleanNone / truewidth fixes the layout to sized columns; focusable={false} drops the scroll region's tab stop when a grid inside moves focus itself.
TableRow.selectedbooleanfalseShows caller-owned selected-row styling without adding selection behavior.
TableHead.scope"col" | "colgroup" | "row" | "rowgroup""col"Declares a column heading or row heading. Use row scope for the first cell in a data row.
TableHead / TableCell.align"start" | "center" | "end""start"Aligns cell content.
TableHead / TableCell.numericbooleanfalseAligns numeric values at the logical end with tabular numerals; explicit align takes precedence.
TableHead / TableCell.stickybooleanfalsePins a first-column cell on wide screens; it unpins below 40rem. Apply it to the header, row headings, and footer cell.
TableCaptioncaption—Provides a visible caption and accessible table context.
PreviousProperty ListNextToken
Current projects and their owners.
ProjectOwnerOpen issues
Design systemMaya Chen4
DocumentationAlex Rivera2
Reference appJordan Lee7

Monthly operating budget

A 12-month budget with 24 recurring cost categories.

2026 planned monthly costs in USD.
Cost categoryJanFebMarAprMayJunJulAugSepOctNovDec
01 Salaries860,000860,000860,000860,000860,000860,000860,000860,000860,000860,000860,000860,000
02 Employer taxes258,000258,000258,000258,000258,000258,000258,000258,000258,000258,000258,000258,000
03 Health and benefits75,00075,00075,00075,00075,00075,00075,00075,00075,00075,00075,00075,000
04 Contractors190,000190,000190,000190,000190,000190,000190,000190,000190,000190,000190,000190,000
05 Office rent245,000245,000245,000245,000245,000245,000245,000245,000245,000245,000245,000245,000
06 Utilities28,00028,00028,00028,00028,00028,00028,00028,00028,00028,00028,00028,000
07 Cloud infrastructure95,00095,00095,00095,00095,00095,00095,00095,00095,00095,00095,00095,000
08 Software licenses62,00062,00062,00062,00062,00062,00062,00062,00062,00062,00062,00062,000
09 Security tools22,00022,00022,00022,00022,00022,00022,00022,00022,00022,00022,00022,000
10 Hardware refresh35,00035,00035,00035,00035,00035,00035,00035,00035,00035,00035,00035,000
11 Research incentives40,00040,00040,00040,00040,00040,00040,00040,00040,00040,00040,00040,000
12 Marketing campaigns95,00095,00095,00095,00095,00095,00095,00095,00095,00095,00095,00095,000
13 Travel38,00038,00038,00038,00038,00038,00038,00038,00038,00038,00038,00038,000
14 Training18,00018,00018,00018,00018,00018,00018,00018,00018,00018,00018,00018,000
15 Legal services26,00026,00026,00026,00026,00026,00026,00026,00026,00026,00026,00026,000
16 Accounting20,00020,00020,00020,00020,00020,00020,00020,00020,00020,00020,00020,000
17 Insurance16,00016,00016,00016,00016,00016,00016,00016,00016,00016,00016,00016,000
18 Payment fees12,00012,00012,00012,00012,00012,00012,00012,00012,00012,00012,00012,000
19 Shipping5,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,000
20 Recruiting24,00024,00024,00024,00024,00024,00024,00024,00024,00024,00024,00024,000
21 Team events14,00014,00014,00014,00014,00014,00014,00014,00014,00014,00014,00014,000
22 Office supplies9,0009,0009,0009,0009,0009,0009,0009,0009,0009,0009,0009,000
23 Accessibility audits18,00018,00018,00018,00018,00018,00018,00018,00018,00018,00018,00018,000
24 Contingency reserve50,00050,00050,00050,00050,00050,00050,00050,00050,00050,00050,00050,000
Total planned2,255,0002,255,0002,255,0002,255,0002,255,0002,255,0002,255,0002,255,0002,255,0002,255,0002,255,0002,255,000