Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need slot for leading icon before label #1774

Open
solidevolution opened this issue Apr 25, 2024 · 1 comment
Open

Need slot for leading icon before label #1774

solidevolution opened this issue Apr 25, 2024 · 1 comment

Comments

@solidevolution
Copy link

Reproduction Link

I want to add a custom icon from our design system as prefix for tags. (search icon)

Steps to reproduce

Currently I found no slot to make this work.

Expected behaviour

There could be a new slot for leading informations.

Actual behaviour

There is no slot available for this.

@idlethumbs
Copy link

@solidevolution you could just use the slot that overwrites the whole tag to achieve this
<template #tag>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants