Menu layouts for your plug-in's card
Your plug-in's card can organise its menu in different ways: the same options, forms and results, laid out and used differently. Pick one on your plug-in's page in the portal, next to your colours. Layouts are open source: anyone can build one.
See them on a real card
Pick a layout from the list to see it on a real plug-in card, drawn as ChatGPT and Claude draw it, next to the standard layout. Switch between a computer and a phone. Each layout links to its open-source package.
Build your own layout
A layout is a small open-source package: a description, a stylesheet and one function that turns the card's data into HTML. It never runs code of its own in the card: it uses the actions the card provides (open an option, ask in the chat, open a link, switch a tab, filter a list). Once merged in the public plug-in repository, a layout appears here and in the marketplace, where businesses add it to their plug-in.
- Read how to code a layout, with the template and the checks, in the public plug-in repository: LAYOUTS.md.
- Copy the template, preview it on sample businesses with the repository's preview page, and run the check.
- Propose it with the repository's issue form. We review it on real cards, in dark and light mode, on a computer and a phone.
Colour themes work the same way: THEMES.md. A business picks a layout and a theme on its plug-in's page: how.