View as Markdown

API reference

@salmonui/inputs/switch

4 exported symbols: 1 component, 1 interface and 2 types. Each name links its page with the signature, docs and members. Names re-exported from another entry point are listed there, linked below.

import { … } from '@salmonui/inputs/switch';

Components

  • SwitchSwitch: a native <input type="checkbox" role="switch"> drawn as a track and thumb, labelled by its children. Space toggles; the checked state is the native one…

Interfaces

Re-exported entry points