Futuristic User Interface (FUI/HUD) theme for MUI.
- Dark and Light mode themes
- FUI/HUD-style MUI components
- CSS animations (scan lines, glow effects, etc.)
- React hooks for text decode and scroll animations
- React 18.0+ or 19.0+
- MUI (Material UI) 7.0+
- Emotion 11.0+
npm install @suwa-sh/mui-fui-theme @mui/material @emotion/react @emotion/styled
# or
pnpm add @suwa-sh/mui-fui-theme @mui/material @emotion/react @emotion/styledimport { ThemeProvider, CssBaseline } from '@mui/material';
import { createFuiTheme } from '@suwa-sh/mui-fui-theme';
const theme = createFuiTheme('dark'); // or 'light'
function App() {
return (
<ThemeProvider theme={theme}>
<CssBaseline />
<YourApp />
</ThemeProvider>
);
}FUI-styled MUI components:
- Button, IconButton
- TextField, Select, Checkbox, Radio, Switch, Slider
- Alert, Chip, Dialog, Skeleton
- DatePicker (optional, requires
@mui/x-date-pickers) - Navigation (Tabs, Breadcrumbs, ToggleButton)
- Surfaces (Paper, Card, Accordion)
Custom FUI components:
NavMenuItem- Navigation menu item with stage colorsProgressBar- Animated progress barColorLegend- Color legend displayStatusIndicator- Status indicator with colorsSectionHeader- Section header with decorationsDiamondNode- Diamond-shaped nodeIconBox- Icon container with FUI stylingAwakeningCard- Card with "Silence to Awakening" hover effect
Available CSS keyframe animations:
fadeInUp,fadeInLeft,fadeInRight,slideInDiagonalscaleIn,rotateInpulse,glowPulsefloat,hologramFlickerscanLine,dataStream,gridPulse
useTextDecode- Matrix/JARVIS-style text scramble effectuseScrollAnimation- Scroll-triggered animationsuseAwakeningStyle- "Silence to Awakening" hover effect for dashboard cards
This package includes design tokens in Figma Tokens (Tokens Studio) format as the Single Source of Truth.
tokens/
├── core.json # Typography, spacing, layout (shared)
├── dark.json # Dark mode colors and effects
└── light.json # Light mode colors and effects
// Import tokens directly
import coreTokens from '@suwa-sh/mui-fui-theme/tokens/core.json';
import darkTokens from '@suwa-sh/mui-fui-theme/tokens/dark.json';
import lightTokens from '@suwa-sh/mui-fui-theme/tokens/light.json';
// Or via the main export
import { coreTokens, darkTokens, lightTokens } from '@suwa-sh/mui-fui-theme';- Install Tokens Studio for Figma
- Import
tokens/*.jsonfiles as Token Sets - Sync design changes back to JSON
Tokens follow the Figma Tokens format:
{
"colors": {
"primary": { "value": "#FFB300", "type": "color" }
}
}- Storybook - Interactive component demos
- agent docs - Document for LLM / Coding Agent
Need more components? Check out mui-fui-theme-pro.
MIT