nuxt / ui

A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.
https://ui.nuxt.com
MIT License
4.07k stars 525 forks source link

space between buttons in buttonGroup OR more styles for RadioGroup #1786

Closed xarthurx closed 4 weeks ago

xarthurx commented 6 months ago

Description

image

I used to use Veutify's chip-group to achieve sth like the above image: a few buttons that I can create v-model and filter the selection from a list, and additional icons will appear when the button is activated.

I'm recently migrating to nuxtUI as I'm using Nuxt now, but find it hard to achieve sth like the above:

Is this something the develop team will consider? Or is there a simple approach to achieve this? Thank you.

Additional context

No response

benjamincanac commented 6 months ago

We have it plan for v3 with Radix Vue https://www.radix-vue.com/components/toggle-group.html component.

xarthurx commented 6 months ago

We have it plan for v3 with Radix Vue https://www.radix-vue.com/components/toggle-group.html component.

Thank you for the reply. May I ask what is the difference between nuxt UI and radix Vue? I was assuming nuxt UI and radix UI are parallel... but you mean you're using Radix UI as a part of nuxt UI?

benjamincanac commented 6 months ago

At the moment we're using Headless UI https://github.com/tailwindlabs/headlessui underneath and in the next major we're migrating everything to Radix Vue, you can read more in #1289.

benjamincanac commented 4 weeks ago

Closing in favor of nuxt/ui#2409.