@ufoui/core
v0.0.5
Published
Lightweight Material Design 3 UI components for React
Maintainers
Readme
UFO UI
UFO UI is a React UI component library implementing Material Design 3. It focuses on simplicity, low dependency count, and small bundle size.
The library is designed to be used as a single import, without additional required packages beyond React.
Goals
- Full Material Design 3 implementation
- Minimal bundle size
- No heavy runtime dependencies
- Suitable for both open-source and commercial products
Status
This project is currently in early development (v0.x). The API may change.
Live preview
UFO UI Playground (preview):
https://ufoui.kgnet.eu
Installation
pnpm add @ufoui/coreUsage
Import the global styles once at your application entry point:
import '@ufoui/core/style.css';Wrap your application with ThemeProvider and use components:
import { ThemeProvider, Button } from '@ufoui/core';
function App() {
return (
<ThemeProvider>
<Button label="Save" filled />
</ThemeProvider>
);
}ThemeProvider is responsible for providing theme tokens and color schemes.
All components rely on CSS variables defined in the global stylesheet.
Theming
You can customize the theme by providing a seed color:
<ThemeProvider seedColor="#6750A4">
<App />
</ThemeProvider>License
Apache License 2.0
Trademark
“UFOUI” (UFO UI) and the UFOUI logo are trademarks of the UFOUI project. Use of the name or logo requires permission.
