Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.04 KB

File metadata and controls

22 lines (15 loc) · 1.04 KB

Components Directory (/components)

This directory contains the reusable building blocks of the ModelSEED-UI interface, primarily organized around MUI v7.

Core Structure

Folder Description
auth/ Authentication components, session management, and login flows.
layout/ Application shell wrappers such as headers and footers.
ui/ Standard reusable UI elements, data grids, and scientific formatters.

Notable Components

  • ChemicalEquation: Formats chemical equations logically, handling subscripts formatting for standard outputs.
  • GridHighlightText: Search term highlighter for robust table filtering visualization.
  • AuthProvider: Manages global session state via Zustand context wrapping logic.
  • RequireAuth: Routing guard component for protected views.

Theming

All components inherit from the global MUI design theme defined in lib/theme.ts. Custom styling is managed via sx properties for consistency.