This repository was archived by the owner on Jan 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change @@ -871,6 +871,50 @@ To embed a Whimsical diagram:
871
871
slightly deflated beach ball. ** Do not draw a snake or some other kind or
872
872
curve!**
873
873
874
+ ### Tabs
875
+
876
+ The Tabs component allows you to organize content into multiple tabbed sections,
877
+ enabling users to switch between content.
878
+
879
+ Wrap your content in <Tabs > and use <Tab > for each individual tab section.
880
+
881
+ ``` md
882
+ <!-- prettier-ignore -->
883
+ <Tabs groupId="language" items={['Rust', 'Typescript']}>
884
+ <Tab value="Rust">Rust 1</Tab>
885
+ <Tab value="Typescript">Typescript 1</Tab>
886
+ </Tabs>
887
+ ```
888
+
889
+ ### Accordion
890
+
891
+ The Accordion component allows you to create collapsible content sections. It's
892
+ useful for organizing and presenting information in a compact, expandable
893
+ format.
894
+
895
+ Wrap your content in <Accordion > and use <AccordionItem > for each collapsible
896
+ section.
897
+
898
+ <!-- prettier-ignore -->
899
+ ``` md
900
+ <Accordion>
901
+ <AccordionItem title="Hello">
902
+
903
+ ```ts
904
+ console.log("hello");
905
+ ```
906
+
907
+ </AccordionItem >
908
+ <AccordionItem title =" World " >
909
+
910
+ ``` rs
911
+ println! (" world" );
912
+ ```
913
+
914
+ </AccordionItem >
915
+ </Accordion >
916
+ ```
917
+
874
918
## Translations
875
919
876
920
Content translations are supported via the Crowdin platform.
You can’t perform that action at this time.
0 commit comments