Forms / COMPONENT
Switch
Toggle kontrol on/off dengan affordance visual.
import { Switch } from "./vendor/syne-ui/index.js";TypeScript readyNotifications: on
Interactive example · Try the controls with your mouse or keyboard.
Start with an example
Import the component and adapt it to your interface.
Example.tsxTSX
import { Switch } from "./vendor/syne-ui/index.js";
export function Example() {
return (
<Switch defaultChecked>Notifications</Switch>
);
}Make it yours
Use className and --syne-* tokens to match your design system.
