Component packs › Vector › Shield Toggle
Turning it on charges a ring, then a hex energy field blooms out and settles into a shimmer.
Shield Toggle is a toggle from Vector, a component pack with 8 components: Sci-fi HUD components that stay readable. Price: $2 for the whole pack.
Built with: charge → bloom, hex field, switch role.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | ||
checked | boolean | ||
autoplay | boolean | Showcase mode: toggles itself. | |
onChange | (on: boolean) => void |
destroy(): voidimport ShieldToggle from './ShieldToggle';
<ShieldToggle />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Admin dashboard UI, Chart components.