docs: flatten side nav hierarchy, remove recipes (#1430)

* style(docs): remove bottom margin in index route

* docs: flatten side nav hierarchy

* docs(accordion): move expandable accordion recipe

* docs(breadcrumb): move breadcrumb trail recipe

* docs: remove recipes
This commit is contained in:
metonym 2022-08-06 13:27:02 -07:00 committed by GitHub
commit e3978e883b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 54 additions and 218 deletions

View file

@ -10,8 +10,6 @@ components: ["Accordion", "AccordionItem", "AccordionSkeleton"]
import Preview from "../../components/Preview.svelte";
</script>
See the [ExpandableAccordion recipe](/recipes/ExpandableAccordion) for a toggleable accordion component.
### Default
<Accordion>
@ -84,6 +82,12 @@ See the [ExpandableAccordion recipe](/recipes/ExpandableAccordion) for a togglea
</AccordionItem>
</Accordion>
### Programmatic example
This example demonstrates how a list of items can be programmatically expanded and collapsed.
<FileSource src="/framed/Accordion/ExpandableAccordion" />
### Extra-large size
<Accordion size="xl">