Skip to content

Commit cb2da99

Browse files
committed
docs: display live examples for UI Components
1 parent 853d694 commit cb2da99

70 files changed

Lines changed: 8849 additions & 21 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

biome.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
"!packages/appkit-ui/src/react/ui",
1818
"!**/routeTree.gen.ts",
1919
"!docs/.docusaurus",
20+
"!**/*.gen.css",
21+
"!**/*.gen.ts",
2022
"!**/typedoc-sidebar.ts"
2123
]
2224
},

docs/docs/api/appkit-ui/components/Accordion.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ title: Accordion
44

55
# Accordion
66

7+
## Example
8+
9+
import { DocExample } from "@site/src/components/DocExample";
10+
11+
<DocExample name="accordion" />
12+
13+
714
## Accordion
815

916

docs/docs/api/appkit-ui/components/Alert.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ title: Alert
44

55
# Alert
66

7+
## Example
8+
9+
import { DocExample } from "@site/src/components/DocExample";
10+
11+
<DocExample name="alert" />
12+
13+
714
## Alert
815

916

docs/docs/api/appkit-ui/components/AlertDialog.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ title: AlertDialog
44

55
# AlertDialog
66

7+
## Example
8+
9+
import { DocExample } from "@site/src/components/DocExample";
10+
11+
<DocExample name="alert-dialog" />
12+
13+
714
## AlertDialog
815

916

docs/docs/api/appkit-ui/components/AspectRatio.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ title: AspectRatio
44

55
# AspectRatio
66

7+
## Example
8+
9+
import { DocExample } from "@site/src/components/DocExample";
10+
11+
<DocExample name="aspect-ratio" />
12+
13+
714
## AspectRatio
815

916

docs/docs/api/appkit-ui/components/Avatar.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ title: Avatar
44

55
# Avatar
66

7+
## Example
8+
9+
import { DocExample } from "@site/src/components/DocExample";
10+
11+
<DocExample name="avatar" />
12+
13+
714
## Avatar
815

916

docs/docs/api/appkit-ui/components/Badge.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ title: Badge
44

55
# Badge
66

7+
## Example
8+
9+
import { DocExample } from "@site/src/components/DocExample";
10+
11+
<DocExample name="badge" />
12+
13+
714
## Badge
815

916

docs/docs/api/appkit-ui/components/Breadcrumb.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ title: Breadcrumb
44

55
# Breadcrumb
66

7+
## Example
8+
9+
import { DocExample } from "@site/src/components/DocExample";
10+
11+
<DocExample name="breadcrumb" />
12+
13+
714
## Breadcrumb
815

916

docs/docs/api/appkit-ui/components/Button.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ title: Button
44

55
# Button
66

7+
## Example
8+
9+
import { DocExample } from "@site/src/components/DocExample";
10+
11+
<DocExample name="button" />
12+
13+
714
## Button
815

916

docs/docs/api/appkit-ui/components/Calendar.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ title: Calendar
44

55
# Calendar
66

7+
## Example
8+
9+
import { DocExample } from "@site/src/components/DocExample";
10+
11+
<DocExample name="calendar" />
12+
13+
714
## Calendar
815

916

0 commit comments

Comments
 (0)