Comments (9)
@ddahan Thanks for pointing this out! I took inspiration of it: https://ui-5uya9y0gg-nuxtlabs.vercel.app/navigation/tabs
from ui.
That's fine @benjamincanac - I personally don't think it's a bad thing at all.
Perhaps the the VerticalNavigation
could simply become the new Tabs
component?
It should provide two components, <TabNavigation>
and <TabPanel>
. Users could choose the placement of the tabs as they please, top
, right
, bottom
or left
and they would switch between different <TabContent>
panels.
Another way to think about it is pretty much as an extension, or an evolution, of the Vertical Navigation
. I think the current component has a pretty limited usage, and turning it into something more robust would be a great way forward.
from ui.
@oritwoen Sure thing, feel free to send a PR! The goal is here is to have something similar to https://ui.shadcn.com/docs/components/tabs based on https://headlessui.com/vue/tabs.
from ui.
Do you have a particular design we should use to base this on?
from ui.
I'm still thinking this through honestly. I know I'd like the tabs component to support either links or slots but for the design I've tried multiple times with pills, but each time I'm reverting the whole thing as it comes out exactly like the VerticalNavigation
component with a flex
class on it.
from ui.
@benjamincanac have you started with this feature yet? From time to time I create components for client platforms/sites and I could opensource my vision of tabs and draft PR if you didn't manage to start with this component :)
from ui.
I like the light animation they add on Pines UI when switching tab.
from ui.
Looks great!
from ui.
@benjamincanac Woow amazing! Keep up the great work!
from ui.
Related Issues (20)
- UAvatar adds to attribute HOT 1
- How to avoid button separation with UButtonGroup and UDropdown HOT 1
- Add real-time word count display function in the lower right corner of Textarea HOT 2
- Input field background becomes transparent when it has an error HOT 3
- [RadioGroup] Support complex objects
- How to submit Uform data in a clean way? HOT 1
- Config `global: false` has no effect HOT 2
- Nuxt multiple layers HOT 2
- Graphs & charts HOT 1
- [Range] Add multiple HOT 4
- CommandPalette: activate first option after async search
- Dropdown does not recognize active links HOT 3
- Dropdown does not close on link click HOT 1
- Add ability to use an overlay for UPopover HOT 2
- Vertical Navigation: unable to set 'active: true' without link 'to: ' path HOT 2
- SelectMenu component does not show checkmark icon for active option if it is set programmatically HOT 1
- button active state HOT 5
- Add `to` Prop to `UTabs` Component for Enhanced Navigation HOT 1
- Can the placement of Notification be changed? HOT 4
- Vertical Navigaton bar from @nuxt/hq to @nuxt/ui HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ui.