small removable-style keyword chip.

Live preview

Design

Install

From your site folder, run:

jprot add TagPill

That downloads the self-contained component into theme/components/TagPill.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: 'TagPill', title: 'TagPill' },
]

Use it inside a page

On its own line in any Markdown file, passing the props:

:::TagPill label="Design"

Props

PropTypeNote
labelstringchip text
removablebooleanshow a ✕ affordance (cosmetic only)

↩ Back to all elements