Navigation
Zoom Control
A minus button, a percentage and a plus button. Steps by 10 between 25 and 200 percent.
Group: Navigation. Exports: ZoomControl. Halaska addition with no shadcn/ui equivalent.
Usage
import { ZoomControl } from "./halaska-kit";
ZoomControl props
zoomnumber:onChange(value) => void: Called with the new value.
Accessibility
- Both controls are native buttons, labelled "Zoom out" and "Zoom in".
- Each is disabled at its limit: 25 percent and 200 percent.
- The percentage is marked as a polite live region.
Used in
Halaska UI · Components · Patterns · Screens · Install