diff --git a/examples/ui-playground/src/app/playground/shadcn/collapsible-section.tsx b/examples/ui-playground/src/app/playground/shadcn/collapsible-section.tsx index ed8efeb4..7ec2570d 100644 --- a/examples/ui-playground/src/app/playground/shadcn/collapsible-section.tsx +++ b/examples/ui-playground/src/app/playground/shadcn/collapsible-section.tsx @@ -35,7 +35,7 @@ function BasicCollapsible() { -
+
This is the collapsible content that can be shown or hidden.
@@ -61,15 +61,15 @@ function FileTreeStyle() { -
+
report.pdf
-
+
presentation.pptx
-
+
notes.txt
@@ -84,15 +84,15 @@ function FileTreeStyle() { -
+
photo1.jpg
-
+
photo2.png
-
+
screenshot.png
@@ -107,15 +107,15 @@ function FileTreeStyle() { -
+
tutorial.mp4
-
+
demo.mov
-
+
audio.mp3
@@ -168,12 +168,12 @@ function FAQStyle() { > - -
{item.answer}
+ + {item.answer} ))} @@ -183,7 +183,7 @@ function FAQStyle() { } // Settings Panel Style -function SettingsPanelStyle() { +function SettingTypographyelStyle() { const [openSections, setOpenSections] = React.useState(['general']) const toggleSection = (sectionId: string) => { @@ -199,19 +199,19 @@ function SettingsPanelStyle() { content: (
- Dark Mode + Dark Mode
- Notifications + Notifications
- Language + Language @@ -225,19 +225,19 @@ function SettingsPanelStyle() { content: (
- Two-Factor Authentication + Two-Factor Authentication
- Data Export + Data Export
- Account Deletion + Account Deletion @@ -251,19 +251,19 @@ function SettingsPanelStyle() { content: (
- Debug Mode + Debug Mode
- Cache Management + Cache Management
- Reset Settings + Reset Settings @@ -283,12 +283,17 @@ function SettingsPanelStyle() { onOpenChange={() => toggleSection(section.id)} > - - {section.content} + + {section.content} +
))} @@ -323,7 +328,7 @@ function MultipleIndependentCollapsibles() {
-

+

This is the content for section 1. Each collapsible can be controlled independently.

@@ -339,7 +344,7 @@ function MultipleIndependentCollapsibles() {
-

+

This section starts open by default. You can see how the state is managed independently.

@@ -355,7 +360,7 @@ function MultipleIndependentCollapsibles() {
-

+

This is the third section. Notice how each collapsible maintains its own state.

@@ -401,7 +406,7 @@ export function CollapsibleSection() { A settings panel with collapsible sections for different categories.
- +
diff --git a/examples/ui-playground/src/app/playground/shadcn/page.tsx b/examples/ui-playground/src/app/playground/shadcn/page.tsx index 7e72b72a..4a89b6f6 100644 --- a/examples/ui-playground/src/app/playground/shadcn/page.tsx +++ b/examples/ui-playground/src/app/playground/shadcn/page.tsx @@ -12,11 +12,15 @@ import { ComboboxSection } from './combobox-section' import { DropdownMenuSection } from './dropdown-menu-section' import { InputSection } from './input-section' import { LinkSection } from './link-section' +import { TextareaSection } from './textarea-section' +import { ToastSection } from './toast-section' +import { ToggleGroupSection } from './toggle-group-section' +import { ToggleSection } from './toggle-section' import { TooltipSection } from './tooltip-section' export default function ComboboxPage() { return ( -
+
Shadcn components @@ -56,6 +60,26 @@ export default function ComboboxPage() { Collapsible + + + Toggle + + + + + Toggle Group + + + + + Textarea + + + + + Toast + +
@@ -112,6 +136,34 @@ export default function ComboboxPage() { {'>'} Collapsible
+ + {'>'} Toggle + +
+ + {'>'} Toggle Group + +
+ + {'>'} Textarea + +
+ + {'>'} Toast + +
+