Tripwire docs: all pages

Components and patterns

The UI components, agent patterns and charts that Tripwire's screens are built from.

Open /design in the running kit to see every component live, in both themes. This page is a map of where they are.

UI components: components/ui

Buttons, badges, cards, form fields, inputs, tables, tabs, dialogs, sheets, menus, tooltips, selects and the Skeleton loader. They're built on Radix primitives in the shadcn/ui style, so keyboard and screen-reader support come built in.

Patterns: components/patterns

PatternUse it for
Filter tableLists with views, saved views, faceted filters, sort, column toggles, CSV export, bulk actions and pagination. Turns into cards on phones.
InboxA three-pane inbox with a list, a thread and a context rail.
KPI strip and stat cardsHeadline numbers with change and trend.
Focus card and brief cardThe one thing that needs attention now, and a summary of what happened.
Gantt timelineRuns, incidents or schedules on a timeline that stacks on phones.
Approval workspaceA queue of agent-proposed changes with risk, evidence, guardrails, a note, approve or reject, and undo.
Agent cardsAutonomy levels (suggest, ask first, act and tell), hard limits, a pause switch and per-agent stats.
Activity logEvery agent and human action with its reason, filterable, with undo per row.
Empty stateEmpty lists and errors, with a next step.
SettingsSettings sections, toggles and forms.

Shell: components/shell

The app shell (collapsible icon rail, profile menu, mobile tab bar), the ⌘K command palette, PageHeader, the sign-in layout and the theme provider.

Charts: components/charts

Area, line, bar, sparkline and share-bar charts. They take a serializable format such as "percent", "usd", "ms" or "compact", so server components can configure them without passing functions.

Accessibility built in

Semantic landmarks, a skip link, labelled icon buttons, keyboard-reachable menus and dialogs, visible focus rings (also in Windows high-contrast mode), aria-sort on sortable tables, text alternatives for charts, and status that never relies on color alone. Keep these when you change components.