Contribute component bundles
Bundles are groups of components that belong to the same provider or capability family.
If you want to contribute custom components back to SkillFlaw, organize them as a bundle.
Add a backend bundle
Create a new bundle directory under:
_10src/lfx/src/lfx/components/
For example:
_10src/lfx/src/lfx/components/darth_vader/
Inside that folder, add:
- one or more Python component files
__init__.pyto export your bundle components
For a real example, inspect existing bundles in the repository.
Add the frontend icon
Create the matching icon under:
_10src/frontend/src/icons/DarthVader/
Typical files are:
- raw SVG asset
- JSX/SVG wrapper component
index.tsxexport file
Make sure the icon component forwards props and follows the same structure as existing icons in src/frontend/src/icons/.
Register the icon lazy import
Update:
_10src/frontend/src/icons/lazyIconImports.ts
Add a lazy import entry whose icon name matches the frontend icon component export.