Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/chakra-ui/ark
/ switch.tsx
File
switch.tsx
website/src/components/ui/primitives/switch.tsx:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
'use client'
2
import type { Assign } from
'@ark-ui/react'
3
import { Switch } from
'@ark-ui/react/switch'
4
import { type SwitchRecipeVariantProps, switchRecipe } from
'styled-system/recipes'
Callers
nothing calls this directly
Calls
3
createStyleContext
Function · 0.90
withProvider
Function · 0.85
withContext
Function · 0.85
Tested by
no test coverage detected