Skip to main content

Components Reference

This document provides a comprehensive reference of all components planned for React SuperAdmin, organized by category and functionality. The reference is based on React Admin and adapted for our framework's architecture.

Status Legend

StatusDescription
PlanningSeen in React Admin reference but not tasked in GitHub project yet
PlannedHas been tasked in GitHub project
ImplementedCode implementation status: TODO, In Progress, Done
TestTesting status: TODO, In Progress, Done
DocsDocumentation status: TODO, In Progress, Done

️ App Configuration

ComponentPlanningPlannedImplementedTestDocsDescription
AdminDoneDoneDoneMain application wrapper that provides context and configuration
ResourceDoneDoneDoneDefines a data resource with its CRUD operations
CustomRoutesTODOTODOTODOCustom routing outside of resource-based routes
LayoutDoneDoneDoneMain layout wrapper

Data Fetching

Data Provider Setup

ComponentPlanningPlannedImplementedTestDocsDescription
DataProvider InterfaceDoneDoneDoneCore data provider interface
REST API Data ProviderTODOTODOTODORESTful API data provider
GraphQL Data ProviderTODOTODOTODOGraphQL API data provider
Mock Data ProviderDoneDoneDoneDevelopment mock data provider

Data Provider Hooks

ComponentPlanningPlannedImplementedTestDocsDescription
useDataProviderDoneDoneDoneAccess data provider instance
useGetListDoneDoneDoneFetch list of records
useInfiniteGetListTODOTODOTODOInfinite scroll data fetching
useGetOneDoneDoneDoneFetch single record
useGetManyDoneDoneDoneFetch multiple records by IDs
useGetManyReferenceDoneDoneDoneFetch related records
useCreateDoneDoneDoneCreate new record
useUpdateDoneDoneDoneUpdate existing record
useUpdateManyTODOTODOTODOUpdate multiple records
useDeleteDoneDoneDoneDelete record
useDeleteManyTODOTODOTODODelete multiple records
useGetTreeTODOTODOTODOFetch hierarchical data
withLifecycleCallbacksTODOTODOTODOAdd lifecycle callbacks
fetchJsonTODOTODOTODOHTTP fetch utility

Security

Authentication

ComponentPlanningPlannedImplementedTestDocsDescription
Auth Provider SetupTODOTODOTODOAuthentication provider configuration
Login ComponentTODOTODOTODOLogin form component
RBAC SystemTODOTODOTODORole-based access control

Security Hooks

ComponentPlanningPlannedImplementedTestDocsDescription
useAuthenticatedDoneDoneDoneCheck authentication status
useAuthStateDoneDoneDoneGet authentication state
useLoginTODOTODOTODOLogin functionality
useLogoutTODOTODOTODOLogout functionality
useGetIdentityTODOTODOTODOGet user identity
useCanAccessTODOTODOTODOCheck permissions
usePermissionsTODOTODOTODOGet user permissions
useAuthProviderTODOTODOTODOAccess auth provider

List Page

List Components

ComponentPlanningPlannedImplementedTestDocsDescription
ListTODOTODOTODOMain list page wrapper
ListBaseTODOTODOTODOBase list component without UI
ListGuesserTODOTODOTODOAuto-generated list component
InfiniteListTODOTODOTODOInfinite scroll list
TreeTODOTODOTODOHierarchical data display
TreeWithDetailsTODOTODOTODOTree with expandable details

Data Display

ComponentPlanningPlannedImplementedTestDocsDescription
DataTableDoneDoneDoneBasic data table component
DataGridDoneDoneDoneAdvanced data table with sorting, filtering, pagination
DatagridTODOTODOTODOReact Admin style datagrid
DatagridAGTODOTODOTODOAG Grid integration
SimpleListTODOTODOTODOBasic list display optimized for mobile
SingleFieldListTODOTODOTODOSingle field list display
EditableDatagridTODOTODOTODOInline editing data grid
CalendarTODOTODOTODODate-based data visualization
SchedulerTODOTODOTODOEvent scheduling interface
ComponentPlanningPlannedImplementedTestDocsDescription
FilterButtonTODOTODOTODOFilter toggle button
FilterListTODOTODOTODOFilter list component
FilterLiveFormTODOTODOTODOLive filter form
FilterLiveSearchTODOTODOTODOLive search filter
SavedQueriesListTODOTODOTODOSaved queries list
StackedFiltersTODOTODOTODOStacked filter display
FilterBarDoneDoneDoneFilter controls bar
SearchBarDoneDoneDoneSearch input component

Pagination & Sorting

ComponentPlanningPlannedImplementedTestDocsDescription
PaginationDoneDoneDonePage navigation component
SortButtonTODOTODOTODOColumn sorting button
SelectColumnsButtonTODOTODOTODOColumn visibility selector
CountTODOTODOTODORecord count display

List Hooks

ComponentPlanningPlannedImplementedTestDocsDescription
useListContextTODOTODOTODOAccess list context
useListTODOTODOTODOList state management
useListControllerTODOTODOTODOList controller logic
useUnselectTODOTODOTODOUnselect items
useUnselectAllTODOTODOTODOUnselect all items

️ Creation & Edition Pages

Page Components

ComponentPlanningPlannedImplementedTestDocsDescription
CreateTODOTODOTODOCreate page wrapper
CreateBaseTODOTODOTODOBase create component without UI
EditTODOTODOTODOEdit page wrapper
EditBaseTODOTODOTODOBase edit component without UI
EditGuesserTODOTODOTODOAuto-generated edit component
EditDialogTODOTODOTODOEdit in dialog modal
EditInDialogButtonTODOTODOTODOButton to open edit dialog
CreateDialogTODOTODOTODOCreate in dialog modal
CreateInDialogButtonTODOTODOTODOButton to open create dialog

Form Components

ComponentPlanningPlannedImplementedTestDocsDescription
SimpleFormDoneDoneDoneBasic form layout
TabbedFormDoneDoneDoneMulti-tab form layout
FormDoneDoneDoneBase form component
LongFormTODOTODOTODOScrollable long form
AccordionFormTODOTODOTODOCollapsible form sections
WizardFormTODOTODOTODOMulti-step form wizard
JsonSchemaFormTODOTODOTODOSchema-driven forms

Form Elements

ComponentPlanningPlannedImplementedTestDocsDescription
ToolbarTODOTODOTODOForm toolbar with actions
SaveButtonTODOTODOTODOForm save button
AutoPersistInStoreTODOTODOTODOAuto-save to store
AutoSaveTODOTODOTODOAuto-save functionality
FormFillerButtonTODOTODOTODOForm auto-fill button

Form Hooks

ComponentPlanningPlannedImplementedTestDocsDescription
useCreateContextTODOTODOTODOAccess create context
useCreateControllerTODOTODOTODOCreate controller logic
useEditContextTODOTODOTODOAccess edit context
useEditControllerTODOTODOTODOEdit controller logic
useSaveContextTODOTODOTODOAccess save context
useRecordFromLocationTODOTODOTODOGet record from URL
useRegisterMutationMiddlewareTODOTODOTODORegister mutation middleware
useUniqueTODOTODOTODOUnique field validation

️ Show Page

Show Components

ComponentPlanningPlannedImplementedTestDocsDescription
ShowTODOTODOTODOShow page wrapper
ShowBaseTODOTODOTODOBase show component without UI
ShowGuesserTODOTODOTODOAuto-generated show component
SimpleShowLayoutTODOTODOTODOSimple show layout
TabbedShowLayoutTODOTODOTODOTabbed show layout
LabeledTODOTODOTODOLabeled field wrapper
ShowDialogTODOTODOTODOShow in dialog modal
ShowInDialogButtonTODOTODOTODOButton to open show dialog

Show Hooks

ComponentPlanningPlannedImplementedTestDocsDescription
useShowContextTODOTODOTODOAccess show context
useShowControllerTODOTODOTODOShow controller logic

Common

Common Components

ComponentPlanningPlannedImplementedTestDocsDescription
WithRecordTODOTODOTODORecord context provider

Common Hooks

ComponentPlanningPlannedImplementedTestDocsDescription
useRecordContextTODOTODOTODOAccess record context
useGetRecordIdTODOTODOTODOGet current record ID
useNotifyTODOTODOTODOShow notifications
useRedirectTODOTODOTODORedirect functionality
useRefreshTODOTODOTODORefresh data

Fields

Basic Fields

ComponentPlanningPlannedImplementedTestDocsDescription
ArrayFieldTODOTODOTODODisplay array data
BooleanFieldTODOTODOTODODisplay boolean values
ChipFieldTODOTODOTODODisplay tags or chips
DateFieldTODOTODOTODODisplay dates with formatting
EmailFieldTODOTODOTODODisplay email addresses
FileFieldTODOTODOTODODisplay file information
FunctionFieldTODOTODOTODODisplay computed values
ImageFieldTODOTODOTODODisplay images
MarkdownFieldTODOTODOTODODisplay markdown content
NumberFieldTODOTODOTODODisplay numeric values
RecordFieldTODOTODOTODODisplay record context data
ReferenceFieldDoneDoneDoneDisplay related record data
ReferenceArrayFieldTODOTODOTODODisplay array of related records
ReferenceManyFieldTODOTODOTODODisplay many related records
ReferenceManyCountTODOTODOTODODisplay count of related records
ReferenceManyToManyFieldTODOTODOTODODisplay many-to-many relationships
ReferenceOneFieldTODOTODOTODODisplay single related record
RichTextFieldTODOTODOTODODisplay rich text content
SelectFieldTODOTODOTODODisplay selected values
TextFieldDoneDoneDoneDisplay text content
TranslatableFieldsTODOTODOTODOMulti-language field support
UrlFieldTODOTODOTODODisplay URLs with links
WrapperFieldTODOTODOTODOCustom field wrapper

Field Hooks

ComponentPlanningPlannedImplementedTestDocsDescription
useFieldValueTODOTODOTODOGet field value

⌨️ Inputs

Basic Inputs

ComponentPlanningPlannedImplementedTestDocsDescription
ArrayInputDoneDoneDoneDynamic field arrays
AutocompleteInputDoneDoneDoneSearchable select input
AutocompleteArrayInputTODOTODOTODOMultiple autocomplete
BooleanInputDoneDoneDoneBoolean input (checkbox)
CheckboxGroupInputTODOTODOTODOMultiple checkbox group
DateInputDoneDoneDoneDate picker input
DateRangeInputTODOTODOTODODate range picker
DateTimeInputTODOTODOTODODate and time picker
DualListInputTODOTODOTODOTwo-column list selector
FileInputTODOTODOTODOFile upload input
ImageInputTODOTODOTODOImage upload input
InPlaceEditorTODOTODOTODOInline editing input
MarkdownInputTODOTODOTODOMarkdown editor
NullableBooleanInputTODOTODOTODOThree-state boolean input
NumberInputTODOTODOTODONumeric input field
PasswordInputTODOTODOTODOPassword input field
PredictiveTextInputTODOTODOTODOAI-powered text suggestions
RadioButtonGroupInputTODOTODOTODORadio button group
ReferenceInputTODOTODOTODORelated record selector
ReferenceArrayInputTODOTODOTODOMultiple related record selector
ReferenceManyInputTODOTODOTODOMany related records selector
ReferenceManyToManyInputTODOTODOTODOMany-to-many relationship input
ReferenceNodeInputTODOTODOTODOTree node selector
ReferenceOneInputTODOTODOTODOSingle related record selector
RichTextInputTODOTODOTODORich text editor
SearchInputTODOTODOTODOSearch input with suggestions
SelectInputDoneDoneDoneSingle select dropdown
SelectArrayInputTODOTODOTODOMultiple select dropdown
SimpleFormIteratorTODOTODOTODOArray input iterator
SmartRichTextInputTODOTODOTODOIntelligent rich text editor
TextArrayInputTODOTODOTODOArray of text inputs
TextInputDoneDoneDoneText input field
TimeInputTODOTODOTODOTime picker input
TranslatableInputsTODOTODOTODOMulti-language input support
TreeInputTODOTODOTODOTree structure input

Input Hooks

ComponentPlanningPlannedImplementedTestDocsDescription
useInputTODOTODOTODOInput state management

️ Preferences

Preference Hooks

ComponentPlanningPlannedImplementedTestDocsDescription
useStoreTODOTODOTODOStore state management
useRemoveFromStoreTODOTODOTODORemove from store
useResetStoreTODOTODOTODOReset store state
useStoreContextTODOTODOTODOAccess store context

Preference Components

ComponentPlanningPlannedImplementedTestDocsDescription
ConfigurableTODOTODOTODOUser-configurable components

I18N Provider and Translations

I18N Components

ComponentPlanningPlannedImplementedTestDocsDescription
TranslateTODOTODOTODOTranslation component

I18N Hooks

ComponentPlanningPlannedImplementedTestDocsDescription
useTranslateTODOTODOTODOTranslation hook
useLocaleStateTODOTODOTODOLocale state management

I18N Setup

ComponentPlanningPlannedImplementedTestDocsDescription
LocalesMenuButtonTODOTODOTODOLocale selection menu

Other UI Components

Layout Components

ComponentPlanningPlannedImplementedTestDocsDescription
ContainerLayoutTODOTODOTODOContainer-based layout
HorizontalMenuTODOTODOTODOHorizontal menu layout
SolarLayoutTODOTODOTODOSolar design layout
AppBarDoneDoneDoneTop navigation bar
MenuTODOTODOTODOMain navigation menu
MultiLevelMenuTODOTODOTODONested menu structure
IconMenuTODOTODOTODOIcon-based menu
ComponentPlanningPlannedImplementedTestDocsDescription
TitleTODOTODOTODOPage title component
BreadcrumbTODOTODOTODONavigation path display
SearchTODOTODOTODOGlobal search component
SearchWithResultTODOTODOTODOSearch with live results

Utility Components

ComponentPlanningPlannedImplementedTestDocsDescription
ConfirmTODOTODOTODOConfirmation dialogs
RevisionsButtonTODOTODOTODOVersion history access
CheckForApplicationUpdateTODOTODOTODOUpdate checker
RecordRepresentationTODOTODOTODORecord display
PrevNextButtonsTODOTODOTODOPrevious/next navigation

UI Hooks

ComponentPlanningPlannedImplementedTestDocsDescription
useDefineAppLocationTODOTODOTODODefine app location
useGetRecordRepresentationTODOTODOTODOGet record representation

Theming

Theme Components

ComponentPlanningPlannedImplementedTestDocsDescription
ToggleThemeButtonTODOTODOTODOTheme switching button
BoxTODOTODOTODOLayout container component
StackTODOTODOTODOVertical layout component
GridTODOTODOTODOGrid layout component

Theme Hooks

ComponentPlanningPlannedImplementedTestDocsDescription
useMediaQueryDoneDoneDoneMedia query hook
useThemeDoneDoneDoneTheme access hook

Realtime

Realtime Components

ComponentPlanningPlannedImplementedTestDocsDescription
ListLiveUpdateTODOTODOTODOReal-time list updates
EditLiveTODOTODOTODOReal-time editing
ShowLiveTODOTODOTODOReal-time display updates
MenuLiveTODOTODOTODOReal-time menu updates

Realtime Hooks

ComponentPlanningPlannedImplementedTestDocsDescription
usePublishTODOTODOTODOPublish realtime events
useSubscribeTODOTODOTODOSubscribe to realtime events
useSubscribeCallbackTODOTODOTODOSubscribe with callback
useSubscribeToRecordTODOTODOTODOSubscribe to record changes
useSubscribeToRecordListTODOTODOTODOSubscribe to list changes
useLockTODOTODOTODOLock records
useUnlockTODOTODOTODOUnlock records
useGetLockTODOTODOTODOGet lock status
useGetLockLiveTODOTODOTODOGet live lock status
useGetLocksTODOTODOTODOGet all locks
useGetLocksLiveTODOTODOTODOGet live locks
useLockOnMountTODOTODOTODOLock on component mount
useLockOnCallTODOTODOTODOLock on function call
useGetListLiveTODOTODOTODOLive list data
useGetOneLiveTODOTODOTODOLive single record data

Basic UI Components

Interactive Components

ComponentPlanningPlannedImplementedTestDocsDescription
ButtonDoneDoneDoneAction buttons
CardDoneDoneDoneContent cards
DropdownDoneDoneDoneDropdown menus
ModalDoneDoneDoneModal dialogs
AlertDoneDoneDoneInformation, warning, and error alerts
BadgeDoneDoneDoneStatus badges and labels
TooltipDoneDoneDoneHover tooltips
LabelDoneDoneDoneForm labels

Feedback Components

ComponentPlanningPlannedImplementedTestDocsDescription
NotificationTODOTODOTODOToast notifications
LoadingTODOTODOTODOLoading indicators
SkeletonTODOTODOTODOContent loading placeholders
ProgressTODOTODOTODOProgress bars and indicators

Recipes

Advanced Features

ComponentPlanningPlannedImplementedTestDocsDescription
CachingTODOTODOTODOData caching strategies
Unit TestingDoneDoneDoneTesting framework and utilities
Advanced TutorialsTODOTODOTODOComplex implementation guides

Implementation Status Summary

COMPLETED (Code + Testing + Documentation)

  • 15 Components fully implemented with 3-phase completion
  • 13 Core Hooks implemented (need testing & documentation)

IN PROGRESS (Partially Complete)

  • 8 Components with code implementation, need testing/documentation
  • Alert Component - needs documentation

TO DO (Tasks Created)

  • 45+ Components with GitHub tasks created, ready for development
  • CRUD Pages (List, Create, Edit, Show) - high priority
  • Authentication System - security foundation

PLANNED (Reference Exists, No Tasks Yet)

  • 80+ Components identified from React Admin documentation
  • Advanced Inputs (FileInput, ImageInput, RichTextInput)
  • Realtime Features (Live updates, Lock management)
  • Advanced UI (Charts, Analytics, Dashboard)

Implementation Priority

Phase 1: Core CRUD (High Priority)

  1. List, Create, Edit, Show pages - Essential admin functionality
  2. Form validation - Data integrity
  3. Authentication & RBAC - Security foundation
  4. Data providers - API integration

Phase 2: Advanced Forms (Medium Priority)

  1. File & Image inputs - Media handling
  2. Rich text inputs - Content management
  3. Reference inputs - Relationship management
  4. Advanced field types - Enhanced UX

Phase 3: Specialized Features (Lower Priority)

  1. Realtime updates - Live collaboration
  2. Dashboard & analytics - Business intelligence
  3. Advanced theming - Customization
  4. Development tools - Developer experience

Development Guidelines

Quality Standards

  • 3-Phase Approach: Code → Testing → Documentation
  • TypeScript: Full type safety
  • Testing: 90%+ coverage requirement
  • Accessibility: WCAG 2.1 AA compliance
  • Performance: Optimized for speed

Component Structure

  • packages/core/: Framework components, hooks, types
  • packages/web/: UI components, forms, layouts
  • Consistent naming: PascalCase components, camelCase props
  • Clear documentation: MDX docs with usage examples

Based on React Admin documentation. This reference tracks our progress toward building a complete admin framework matching React Admin's comprehensive component ecosystem.