import { createContext, useContext, useId, type ComponentProps } from 'react'; import { Check } from 'lucide-react'; import { Slot } from 'radix-ui'; import { cn } from '../../lib/cn'; import { Card, CardFrame } from '../Card/Card'; import { Label } from '../ui/label'; import { RadioGroup, RadioGroupItem } from '../ui/radio-group'; import { Spinner } from '../Spinner/Spinner'; /* ---------------------------------------------------------------- Nav */ /** Left-hand navigation between settings pages: `SettingsNavLabel`s and `SettingsNavItem`s. */ export function SettingsNav({ className, ...props }: ComponentProps<'nav'>) { return (