Components
Learn how to create and use reusable components in Puzzlet
Puzzlet supports reusable components to help you maintain consistent prompting patterns across your applications. Components can be created and managed in two ways:
Create Components via Puzzlet
Create and manage components directly in the Puzzlet platform:
- Navigate to the prompt section of Puzzlet
- Click on the 3-dots menu option next to the folder
- Create a new component, with a given name and publish it
Local Components
Create components locally in your puzzlet/templates
directory:
- Create a new component in the templates directory
- Commit and push your changes to the connected git branch
Using Components
Import and use components in your prompts:
Component example:
Learn More
For detailed information about component features and syntax, see the AgentMark Components Documentation.
Key features include:
- Props support
- Conditional rendering
- Plain markdown imports
- Component composition
Have Questions?
We’re here to help! Choose the best way to reach us:
Join our Discord community for quick answers and discussions
Email us at hello@puzzlet.ai for support
Schedule an Enterprise Demo to learn about our business solutions
Was this page helpful?