Skip to content

OcTag component

Description

The OcTag component can display various information in form of a tag.

Examples

Default

The component provides a default slot that can be filled with the content that should be displayed inside the tag.

Sizes

These sizes are available: small, medium, large.

Tags can also be a button or a link. This is determined by the type property.

If the type property is set to button, the tag has a handler that will emit a click event. If the type property is set to a or router-link, the tag needs to be provided with a to property.

Properties

Emits

Slots