How do I use a hero template in Cursor?
Paste the template code into a Cursor chat message and tell it to build your component around the design. Save the template in your project and add a project rule in .cursor/rules that tells Agent to follow it, then reference the file with @ in your prompt.
What does Cursor turn the template into?
Components in your project's framework, edited in place in your files.
How do I stop Cursor changing the design?
Agent tends to swap custom values for framework defaults unless a rule tells it not to. A follow-up prompt that helps: "@template.html Build this section as a component in our codebase. Match the template's spacing and type scale; reuse our existing Button."
What makes a good hero section?
Says the result in one line: the headline tells visitors what they get, not what the product is called. One main button: a single filled call to action, with a quieter second option at most. Shows the product: a real screen, demo or image beats an abstract illustration.
Any Cursor tips for hero sections?
Keep the template file in your repo, so later sessions can compare the hero with the original when you change it.