SwitchSwitches are used to toggle between two states.Storybook React Aria Source Ask ChatGPT Props SwitchSwitchInputPropTypecolor?"cyan" | "teal" | "green" | "lime" | "yellow" | "amber" | "orange" | "red" | "pink" | "fuchsia" | "purple" | "violet" | "indigo" | "blue" | "neutral"layout?objectsize?object | "sm" | "xs" | "2xs"className?function | stringstyle?function | StylePropertieschildren?function | object | object | object | object | boolean | bigint | number | string | nulldefaultSelected?booleanisSelected?booleanonChange?functionvalue?stringisDisabled?booleanisReadOnly?booleanautoFocus?booleanonFocus?functiononBlur?functiononFocusChange?functiononKeyDown?functiononKeyUp?functionaria-controls?stringexcludeFromTabOrder?booleanid?stringname?stringaria-label?stringaria-labelledby?stringaria-describedby?stringaria-details?stringinputRef?objectonHoverStart?functiononHoverEnd?functiononHoverChange?functionslot?string | nullPropTypeclassName?stringstyle?StylePropertiesEdit on GitHubStackStacks are used to arrange elements vertically or horizontally.