Custom elements are reusable web components built using JavaScript that extend the HTML vocabulary. They allow you to define your own elements with specific behaviors and styles, encapsulating functionality.
-
Modularization: Break down complex Dapp interfaces into smaller, reusable elements for cleaner code and easier maintenance.
-
Reusability: Share common UI components across different Dapp sections or even multiple Dapps.
-
Encapsulation: Keep logic and data within each element, promoting better organization and reducing code complexity. Improved developer experience: Build complex interfaces with familiar web development concepts.
Simply add the script in a web page and use the tags
<lukso-powerups
network="mainnet"
wallet-addr="0x0D5C8B7cC12eD8486E1E0147CC0c3395739F138d"
options="pfp,description,tags"
theme="light"
></lukso-powerups>
Supports both mainnet and testnet.
to bundle your application
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Distributed under the MIT License.
Amir Rahimi - Fullstack blockchain developer