Knob ToggleA knob toggle to switch between light and dark mode with sound effectCopy PromptDocumentationCLICodepnpmnpmyarnbunCopypnpm dlx @t7blocks/cli add knob-toggleUsagelayout.tsxglobal.cssCopyimport { KnobToggle } from "@/components/T7blocks/KnobToggle"; export default function RootLayout({ children, }: Readonly<{ children: React.ReactNode; }>) { return ( <html lang="en"> <body className={`${geistSans.variable} ${geistMono.variable} antialiased`} > {children} <div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2"> <KnobToggle /> </div> </body> </html> ); }PropertiesPropertyTypeDefaultDescriptionclassNamestring""Additional CSS classes for the buttondefaultCheckedbooleanfalseInitial checked state of the toggleprimaryColorstring"#0037ffff"The color of the toggle when checkedsoundSrcstringundefinedURL to an audio file to play when toggledRelated resourcesDot Launch ButtonStagger Button