Comments (3)
Hi @kamigerami, the design for defaulting to a tab is a bit different. You can default to tabs (uncontrolled) by setting a defaultIndex in the TabGroup, not TabList.
More about this here: http://localhost:3000/docs/ui/tabs#api-reference-tabgroup
<TabGroup defaultIndex={0}>
<TabList>
...
It's an older API which will change in v4. I highly recommend using our copy paste variant, which you'll find here: https://raw.tremor.so/docs/ui/tabs
from tremor.
oh ok I see, so for controlled components I need to use the raw versions. Got it thnx
from tremor.
Hi! Not necessarily, you can also use it in a controlled manner → https://storybook.tremor.so/?path=/docs/ui-input-tabs--docs#controlled
I suggested the Raw Component to you, because the API is closer to what you initially shared :)
from tremor.
Related Issues (20)
- [Bug]: Legend component fails to render with 23 or more categories HOT 1
- [Feature]: Stacked Funnel Chart HOT 3
- [Feature]: Value Formatter for x-axis
- [Feature]: Padding for x axis
- [Feature]: Progress Circle with different color by sector HOT 1
- [Feature]: Add option to make the highlighted area a click target in a bar chart
- [Bug]: DateRangePicker z-index can't be changed HOT 1
- Barchart with Rounded Corners HOT 3
- Multiple charts on one plot
- [Question]: How can I increase the thickness of the donuts pie charts ? HOT 1
- [Feature]: adding phone input
- [Bug]: Scatter chart x axis label is truncated (below the line height) HOT 1
- [Feature]: HPO Graphs HOT 1
- [Bug]: Website UI broken HOT 1
- [Feature]: Box plots HOT 1
- [Bug]: Unable to update bar colors using `tremor-brand-default` from tailwindConfig.js HOT 2
- [Bug]: I want to show the 'Select All' option all the time, even when searching in the multi-select HOT 1
- [Feature]: Enable multiple X-Axis and Y-Axis for AreaCharts, LineCharts & BarCharts
- [Bug]: in IOS all the inputs has a zoom in automatically HOT 1
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 tremor.