alepha@docs:~/docs/packages/@alepha-ui$
cat core.md
1 min read
Last commit:

#@alepha/ui - Core

UI components and themes for Alepha framework based on Mantine UI library.

#Installation

npm install @alepha/ui

#Overview

Core UI components based on Mantine UI v8.

Features:

  • Mantine integration with theme support
  • ActionButton, BurgerButton, ClipboardButton, DarkModeButton, LanguageButton, ThemeButton
  • AlertDialog, ConfirmDialog, PromptDialog
  • Form controls: Control, ControlArray, ControlDate, ControlNumber, ControlObject, ControlSelect, ControlQueryBuilder
  • TypeForm for automatic form generation from TypeBox schemas
  • DashboardShell layout component
  • AppBar with configurable elements
  • Sidebar navigation with sections and menu items
  • Omnibar for command palette / search
  • DataTable with filtering, sorting, pagination
  • Toast notifications
  • Theme system with dark mode

#API Reference

#Primitives

  • $ui — Convenience function to configure and inject the UiRouter.

#React Hooks

  • useDialog — Use this hook to access the Dialog Service for showing various dialog types.
  • useTheme — Hook to get and set the current theme.
  • useToast — Use this hook to access the Toast Service for showing notifications.