We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4e53fc commit 493567cCopy full SHA for 493567c
1 file changed
docs/src/pages/components/Tabs.svx
@@ -134,6 +134,21 @@ Container type tabs with disabled states. Set `disabled` to `true` on individual
134
</svelte:fragment>
135
</Tabs>
136
137
+## Container type with icons
138
+
139
+Container type tabs also support the `icon` prop.
140
141
+<Tabs type="container">
142
+ <Tab label="Calendar" icon={Calendar} />
143
+ <Tab label="Information" icon={Information} />
144
+ <Tab label="Settings" icon={Settings} disabled />
145
+ <svelte:fragment slot="content">
146
+ <TabContent>Calendar content</TabContent>
147
+ <TabContent>Information content</TabContent>
148
+ <TabContent>Settings content</TabContent>
149
+ </svelte:fragment>
150
+</Tabs>
151
152
## Skeleton (default)
153
154
Show a loading state with the default skeleton variant.
0 commit comments