Installation
How to install and set up Tuimorphic in your project
Installation
Install Tuimorphic using your preferred package manager:
Requirements
Tuimorphic requires the following peer dependencies:
- React 18.0.0 or higher (React 19 supported)
- React DOM 18.0.0 or higher
Setup
Import Styles
Import the Tuimorphic styles in your application's entry point:
Or in a client-side app:
Configure Theming
Tuimorphic uses CSS classes on the <body> element to control themes:
Font (Optional)
Tuimorphic ships with GNU Unifont for the authentic terminal aesthetic. The font is automatically loaded from the package's CSS. If you prefer a different monospace font, you can override the --font-mono CSS variable:
TypeScript
Tuimorphic is written in TypeScript and exports all types. Import types alongside components:
Next Steps
- Browse the component documentation to see all available components
- Learn about theming to customize the look and feel