--available-components command displays a list of all components that can be added to your project.
Syntax
What It Does
The command:- Retrieves the list of all supported components from the template registry
- Displays each component name
- No configuration validation required
This command works even without
lumo.properties configuration, making it useful for exploring components before initialization.Output
When run, you’ll see:All Available Components
Accordion
Expandable content sections
AlertDialog
Modal dialog for alerts and confirmations
Badge
Small status indicators
Button
Standard clickable button
Card
Container for content grouping
Checkbox
Binary selection control
Chip
Compact elements for actions or info
Divider
Visual separator between content
Icon
Display icons from Material icons
IconButton
Button with icon only
ModalBottomSheet
Bottom sheet for modal content
NavigationBar
Bottom navigation bar
OTPTextField
One-time password input field
ProgressIndicators
Loading and progress indicators
RadioButton
Single selection from a group
Scaffold
Basic screen structure layout
Slider
Range selection control
Surface
Basic container with elevation
Snackbar
Temporary message at bottom
Switch
Toggle between on/off states
SystemBars
System status and navigation bars
Text
Styled text display
TextField
Text input field
Theme
Application theme configuration
Tooltip
Contextual help text
TopBar
Top app bar for navigation
Component Categories
- Input
- Layout
- Feedback
- Display
Components for user input:
- Button
- Checkbox
- Chip
- IconButton
- OTPTextField
- RadioButton
- Slider
- Switch
- TextField
Using Component Names
Component names are case-sensitive. Use the exact names shown in the output:When to Use
Use this command:- Before initialization - Explore available components
- During planning - Decide which components you need
- For reference - Check exact component names for the
--addcommand - When learning - Discover what’s available in Lumo UI
No Configuration Required
Unlike most other commands,--available-components doesn’t require:
lumo.propertiesconfiguration- Plugin initialization
- Dependency setup
Component Details
For detailed information about each component:- Add the component to your project
- Review the generated source code
- Check the component documentation
- Visit the official Lumo UI website
Example Workflow
Platform Support
All components support:Android (Jetpack Compose)
Kotlin Multiplatform (Compose Multiplatform)
- SystemBars - Platform-specific status and navigation bar handling
- Navigation components - May have different behaviors per platform
- Platform-specific UI patterns
Adding Components
After identifying components you want, use the add command:Component Dependencies
Some components depend on others:- Card requires Surface
- TextField requires Icon
- Many components require Theme
Filtering Output
If you want to filter the list programmatically:Component Count
Currently, Lumo UI provides 26 components covering common UI patterns and Material Design 3 components.Future Components
The component library is actively maintained. Check the Lumo UI website or GitHub repository for:- New component announcements
- Upcoming components
- Component requests
- Feature updates
Next Steps
- Add specific components to your project
- Add all components at once
- Explore component documentation
- Review generated component source code for customization