ghost button with a border; pairs well with PrimaryButton.
Install
From your site folder, run:
jprot add OutlineButtonThat downloads the self-contained component into theme/components/OutlineButton.js,
where it is picked up automatically — the same way as any built-in component.
To remove it later, just delete that file.
Use it as a homepage section
Add an entry to the sections: list in jprot.config.js:
sections: [
{ component: 'OutlineButton', title: 'OutlineButton' },
]Use it inside a page
On its own line in any Markdown file, passing the props:
:::OutlineButton label="Learn more" url="/blog"Props
| Prop | Type | Note |
|---|---|---|
label | string | button text |
url | string | href target |