How oddmash/oddmash-ui works
Oddmash UI is a shared, themeable React component library for Oddmash products. Its principal workflow is a product developer importing the public API and composing accessible controls, form inputs, overlays, feedback, navigation, or data-display components into a product interface. The library also provides documentation-oriented primitives and interaction patterns such as command search, copy feedback, and managed notifications. README-described tokens and themes are part of the product scope, but their implementation is not represented in the supplied source tree. Relationships below are limited to exports and calls/imports visible in the supplied excerpts or source index.
Main entry points: index.ts Component exports · button.tsx Buttons · command-palette.tsx Command search · select.tsx Select control
Components 20
Public API
- Component exports
src/index.ts
Controls and Overlays
- Buttons
src/button.tsx - Text input
src/input.tsx - Select control
src/select.tsx - Select behavior
src/select-dropdown.tsx - Date and time
src/date-select.tsx - Dialog overlay
src/dialog.tsx - Command search
src/command-palette.tsx - Alerts
src/alert.tsx - Slider
src/slider.tsx - Other UI components
src
Documentation Primitives
- Copy feedback
src/clipboard-button.tsx - Docs navigation
src/docs-navigation.tsx - Language selection
src/locale-picker.tsx - Scroll header
src/scroll-header.tsx
Shared Interaction
- Notification manager
src/toast-provider.tsx - Toast display
src/toast.tsx - Class composition
src/cx.ts
Other components
- Product developer
- React product
Connections 29
- Product developer → React product: composes
README.md - React product → Component exports: imports
README.md - Component exports → Buttons: exports
src/index.ts - Component exports → Text input: exports
src/index.ts - Component exports → Select control: exports
src/index.ts - Component exports → Date and time: exports
src/index.ts - Component exports → Dialog overlay: exports
src/index.ts - Component exports → Command search: exports
src/index.ts - Component exports → Alerts: exports
src/index.ts - Component exports → Slider: exports
src/index.ts - Component exports → Copy feedback: exports
src/index.ts - Component exports → Docs navigation: exports
src/index.ts - Component exports → Language selection: exports
src/index.ts - Component exports → Scroll header: exports
src/index.ts - Component exports → Notification manager: exports
src/index.ts - Component exports → Toast display: exports
src/index.ts - Component exports → Other UI components: exports
src/index.ts - Select control → Select behavior: delegates to
src/select.tsx - Command search → Dialog overlay: uses
src/command-palette.tsx - Command search → Text input: uses
src/command-palette.tsx - Command search → Buttons: uses
src/command-palette.tsx - Date and time → Buttons: uses
src/date-select.tsx - Copy feedback → Buttons: uses
src/clipboard-button.tsx - Docs navigation → Buttons: uses
src/docs-navigation.tsx - Language selection → Select control: uses
src/locale-picker.tsx - Notification manager → Toast display: uses
src/toast-provider.tsx - Buttons → Class composition: composes classes
src/button.tsx - Select behavior → Class composition: composes classes
src/select-dropdown.tsx - Toast display → Class composition: composes classes
src/toast.tsx