"use client"
import * as React from "react"
import type { Selection } from "react-aria-components"
import {
Example,
ExampleWrapper,
} from "@/registry/bases/aria/components/example"
import {
AlertDialog,
AlertDialogAction,
AlertDialogCancel,
AlertDialogDescription,
AlertDialogFooter,
AlertDialogHeader,
AlertDialogMedia,
AlertDialogTitle,
AlertDialogTrigger,
} from "@/registry/bases/aria/ui/alert-dialog"
import { Badge } from "@/registry/bases/aria/ui/badge"
import { Button } from "@/registry/bases/aria/ui/button"
import {
Card,
CardAction,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/registry/bases/aria/ui/card"
import {
Combobox,
ComboboxContent,
ComboboxEmpty,
ComboboxInput,
ComboboxItem,
ComboboxList,
} from "@/registry/bases/aria/ui/combobox"
import {
DropdownMenu,
DropdownMenuGroup,
DropdownMenuItem,
DropdownMenuLabel,
DropdownMenuSeparator,
DropdownMenuShortcut,
DropdownMenuSub,
DropdownMenuSubContent,
DropdownMenuSubTrigger,
DropdownMenuTrigger,
} from "@/registry/bases/aria/ui/dropdown-menu"
import { Field, FieldGroup, FieldLabel } from "@/registry/bases/aria/ui/field"
import { Input } from "@/registry/bases/aria/ui/input"
import {
Select,
SelectContent,
SelectGroup,
SelectItem,
SelectTrigger,
SelectValue,
} from "@/registry/bases/aria/ui/select"
import { Textarea } from "@/registry/bases/aria/ui/textarea"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"
export function ComponentExample() {
return (
)
}
function CardExample() {
return (
Observability Plus is replacing Monitoring
Switch to the improved way to explore your data, with natural
language. Monitoring will no longer be available on the Pro plan in
November, 2025
Allow accessory to connect?
Do you want to allow the USB accessory to connect to this
device?
Don't allowAllow
Warning
)
}
const frameworks = [
"Next.js",
"SvelteKit",
"Nuxt.js",
"Remix",
"Astro",
] as const
const roleItems = [
{ label: "Developer", value: "developer" },
{ label: "Designer", value: "designer" },
{ label: "Manager", value: "manager" },
{ label: "Other", value: "other" },
]
function FormExample() {
const [notifications, setNotifications] = React.useState(
new Set(["email", "push"])
)
const [view, setView] = React.useState(new Set(["sidebar"]))
const [theme, setTheme] = React.useState("light")
return (
User InformationPlease fill in your details belowFile
New File
⌘N
New Folder
⇧⌘N
Open Recent
Recent Projects
Project Alpha
Project Beta
More Projects
Project Gamma
Project Delta
Browse...
Save
⌘S
Export
⇧⌘EView
Show Sidebar
Show Status Bar
Theme
setTheme(
keys === "all"
? "system"
: (keys.values().next().value as string)
)
}
>
Appearance
Light
Dark
System
Account
Profile
⇧⌘P
Billing
Settings
Preferences
Keyboard Shortcuts
Language
Notifications
Notification Types
Push Notifications
Email Notifications
Privacy & Security
Help & Support
Documentation
Sign Out
⇧⌘Q
)
}