Tux* components and composables, fully auto-imported.
documentation
Getting started
At a glance
tti-ux v3.4.5
Composition examples across operational and public research surfaces.
Themes: Light, Dark, and WCAG AAA High-Contrast.
Implementation steps
Clone repository and run local development
View all install targetsClone the repository, install dependencies, and start the local preview server. Prerendered documentation and live component sandboxes serve at port 3030.
terminalgit clone https://github.com/ttitamu/tti-ux.git cd tti-ux npm install npm run dev- Binds to http://localhost:3030 to prevent port collisions with other local services.
- Vite hot-module replacement (HMR) reloads automatically on token, component, or doc edits.
Extend TUX in your Nuxt 4 configuration
Browse 183 componentsIn your application nuxt.config.ts, extend TUX as a layer. All 183 Tux* components and composables are auto-imported and immediately available in templates.
nuxt.config.ts// nuxt.config.ts export default defineNuxtConfig({ extends: ["@tti/tti-ux"], });- Global component registration ensures both Vue SFC templates and Markdown (via MDC) resolve primitives without imports.
- Tailwind v4 theme variables and typography tokens are injected automatically.
Consume standalone tokens and CSS (Non-Nuxt stacks)
Explore token referenceFor static HTML, React, ASP.NET, or WordPress projects that cannot run the Nuxt layer, link pre-compiled tokens and operational classes directly from the kit distribution.
index.html<!-- Include in your document <head> --> <link rel="stylesheet" href="@tti/tti-ux/kit/css/tux-tokens.css"> <link rel="stylesheet" href="@tti/tti-ux/kit/css/tux-ops.css">- kit/css/tux-tokens.css provides pure CSS custom properties for all three themes without any build tooling.
- kit/css/tux-bridge.css upgrades raw HTML tables, buttons, and form inputs to WCAG 2.2 AAA standards.
Compose templates using accessible primitives
View corridor analytics compositionAssemble user interfaces using verified TTI primitives. Every component strictly satisfies WCAG 2.2 Level AAA requirements, including >= 7.0:1 text contrast and full keyboard navigation.
AnalysisView.vue<template> <div class="space-y-4"> <TuxSectionHeader title="Analysis Parameters" /> <TuxAlert variant="info" title="Sensor Array Online"> Data feed synchronized across all 12 monitoring stations. </TuxAlert> <TuxButton intent="primary">Export Dataset</TuxButton> </div> </template>- Form controls integrate with validation summaries, field wrappers, and accessible error descriptors.
- Status chips and badges enforce consistent semantic status semantics (nominal, warning, critical, info, subtle).
Configure themes and high-contrast accessibility
Read ADR-0006TUX supports 3 certified themes: tti (default light), tti-dark (warm charcoal), and tti-hc (dedicated WCAG AAA high-contrast). Themes switch instantly via the data-theme attribute on <html>.
app.html<!-- Set data-theme on <html> --> <html data-theme="tti"> <html data-theme="tti-dark"> <html data-theme="tti-hc">- High-contrast mode is decoupled from standard dark mode to ensure persistent accessibility accommodations (ADR-0006).
- Use the useTuxTheme() composable to read or switch themes programmatically in Vue apps.
Run automated quality and contrast verification
View 183-component Health MatrixVerify component contracts and accessibility standards using the institutional 6-gate test harness before deploying changes.
terminal# Run full 6-gate verification (tokens, status palette, WCAG AAA math, Vitest, Axe prerender) node scripts/test-all-suites.mjs # Run mathematical luminance contrast audit npm run audit:aaa- Evaluates luminance ratios mathematically against WCAG 2.2 Level AAA (>= 7.0:1 text, >= 3.0:1 UI boundaries).
- Checks 245 prerendered routes with axe-core to ensure 0 accessibility violations.
Application profiles
Standardized patterns tailored for three core interface types:
Component families
Six tightly-coupled clusters where reading the components together provides cohesive patterns. The remaining components are cataloged individually in the sidebar.
research-publishing
Editorial-research paper
Abstract · AuthorByline · PaperMeta · FigureCaption · TableCaption · Footnote · CitationExport · Acknowledgments. The published-paper shape.
8 components
tti-identity
TTI identity / brand
Researcher · Lab · Program · FundingSource · CenterBadge. The institutional-identity surfaces that map directly to TTI organizational structure.
5 components
geospatial
Maps + corridors
MapEmbed · MapLegend · MapMarker · CorridorStrip. Closes the Priority B geospatial roadmap section.
4 components
forms-wrapper
Form composition layer
FormField · MarkdownEditor · FileDropzone · ValidationSummary · ConfirmDialog. The TUX wrapper above Nuxt UI form primitives.
5 components
charts
Native chart family
Line · Bar · Area · Scatter · Donut · Gauge · Geographic · Sunburst · Sparkline. Native SVG rendering with maroon-led palette and reduced-motion-safe entrance animations.
9 components
platform-aware
Tauri app-shell primitives
AppFrame · MenuBar · SplashScreen · TabBar · FAB · FocusView · AppSwitcher · SplitPane. Plus useTuxPlatform() + useTuxSwipe() + useTuxRipple().
8 components
Composition examples
Production-grade layouts assembling 5–15 Tux* components into realistic application surfaces.
product · telemetry
Corridor analytics
8 Tux* components
product · operations
Ops board
4 Tux* components
marketing · public
Research-program landing
10 Tux* components
product · chat
tti-ai-studio session
9 Tux* components
layout · app shell
Sidebar shell
5 Tux* components
publishing · academic
Research paper
12 Tux* components
marketing · TTI identity
TTI center landing
8 Tux* components
System doctrine
Ten architectural design documents under design/, plus the canonical tokens.json source.
Read first
Doctrine The manifesto. What tux is for, deliberately is not. Components Doctrine + the full pattern-coverage map. Compositions "X + Y composes more value than they do alone." Seven composition patterns.
Then
Palette Visual identity — maroon-led palette across three themes. Operational surfaces Overlay class API vs owned ops board. Vue / HTML / CSS / Source. Chart foundations Axis/grid/legend tokens, value-label placement, brush selectors, alt-text patterns.
Reference
Platform awareness Tauri / multi-platform doctrine. "One tree, platform-adaptive at the chrome layer." Tauri bindings Which Tux* components call which Tauri APIs + capability allowlist template. Visual language Token-only refresh notes — two-ring focus, transportation-tempo easings, four-tier elevation. Roadmap What's shipped, what's deferred, what's carry-forward.
Theme configuration
Three themes ship: tti (default light), tti-dark (dark), and tti-hc (WCAG AAA high-contrast). Toggle via the navigation controls or set data-theme on <html>. Applications customize brand tokens via [data-theme] selectors without modifying core component templates.
Cross-platform support
TUX components adapt across responsive web layouts and desktop application environments (such as Tauri). The underlying design tokens preserve brand hierarchy while adapting navigation chrome to the target platform.
Accessibility
- Contrast standard: WCAG 2.2 Level AAA (minimum 7:1 for normal text, 4.5:1 for large text) across all themes.
- Keyboard navigation: all interactive primitives are fully operable via keyboard with prominent focus indicators.
- Reduced motion: all transitions and animations respect
prefers-reduced-motion: reduce. - Target size: interactive controls meet or exceed WCAG 2.2 touch target requirements.
Consuming from another app
Pin to a tagged release in your application configuration:
// nuxt.config.ts of the consuming app
export default defineNuxtConfig({
extends: ["github:ttitamu/tti-ux#v3.4.5"],
});See CHANGELOG.md for version release history.
next steps
Continue exploring
Browse components, review composition patterns, or check the project roadmap.