Component Catalog¶
Comprehensive reference of reusable components in the FreeIPA Modern WebUI. These components are used across both main-pages and sub-pages.
Catalog Files¶
File |
Contents |
|---|---|
Form inputs: text, number, checkbox, select, toggle, calendar |
|
List components: text lists, SSH keys, certificates |
|
Layout components: TabLayout, SidebarLayout, KebabLayout, modals |
Quick Reference¶
Category |
Components |
|---|---|
Form Inputs |
|
Lists & Collections |
|
Specialized |
|
Layout |
|
Component Selection Guide¶
Need |
Use |
|---|---|
Simple text field |
|
Long text/description |
|
Password field |
|
Number with constraints |
|
Yes/No option |
|
Multiple options (checkboxes) |
|
Multiple options with filter |
|
Single selection from list |
|
Toggle between two options |
|
Selection with search |
|
Date selection |
|
Date + time selection |
|
Dynamic list of values |
|
SSH keys management |
|
Certificate management |
|
Read-only display |
|
IPAParamDefinition Pattern¶
All form components follow this pattern:
Receive
ipaObject,onChange,metadata,objectName, andnamepropsAutomatically determine read-only state from metadata
Handle value conversion and updates consistently
Reference Implementations¶
Component Type |
Example Implementation |
|---|---|
Basic form |
|
Two-column form |
|
Category toggle sections |
|
Complex with all features |
|
User settings (certs, SSH) |
|
Add modal |
|
Delete modal |
|