We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
现有Tabs组件的segment样式不能满足使用需要,自 2.37 版本起虽然已适配切换动画,但如果要用它实现分段控制器组件的效果仍需要通过css自定义width和padding,该样式的组件已大量应用与现代UI界面
2.37
Ant Design https://ant.design/components/segmented-cn
TDesign https://tdesign.tencent.com/vue-next/components/radio#%E6%8C%89%E9%92%AE%E5%8D%95%E9%80%89%E6%A1%86
Element Plus https://element-plus.org/zh-CN/component/segmented.html
Radix UI https://www.radix-ui.com/themes/docs/components/segmented-control
Material UI https://mui.com/joy-ui/react-tabs/#segmented-controls
NextUI https://nextui.org/docs/components/tabs#radius
如果是基于 Radio 组件的样式那就加个 Props type 也可以单独出一个组件
type
The text was updated successfully, but these errors were encountered:
+1,这个需求能加吗
Sorry, something went wrong.
n-segment
Successfully merging a pull request may close this issue.
This function solves the problem (这个功能解决的问题)
现有Tabs组件的segment样式不能满足使用需要,自
2.37
版本起虽然已适配切换动画,但如果要用它实现分段控制器组件的效果仍需要通过css自定义width和padding,该样式的组件已大量应用与现代UI界面Ant Design
https://ant.design/components/segmented-cn
TDesign
https://tdesign.tencent.com/vue-next/components/radio#%E6%8C%89%E9%92%AE%E5%8D%95%E9%80%89%E6%A1%86
Element Plus
https://element-plus.org/zh-CN/component/segmented.html
Radix UI
https://www.radix-ui.com/themes/docs/components/segmented-control
Material UI
https://mui.com/joy-ui/react-tabs/#segmented-controls
NextUI
https://nextui.org/docs/components/tabs#radius
Expected API (期望的 API)
如果是基于 Radio 组件的样式那就加个 Props
type
也可以单独出一个组件
The text was updated successfully, but these errors were encountered: