Search components
Find a component by name
Toggle
Two-state button.
Outline
Use variant="outline" for an outline style.
With Text
Put text next to the icon; the toggle grows to fit it.
Size
Use the size prop (sm, default, lg) to change the size of the toggle.
Disabled
Use the disabled prop to disable the toggle.
Dashed
Refer's variant="dashed" is a pill for filters: dashed border when off, primary-subtle with a solid primary-border when on.
Installation
npx shadcn@latest add @refer/toggleUsage in the apps
Which apps install this component, whether their copy matches the registry, and which files import it.
PortalIn sync1 file
ArgusDivergedNot imported
LandingDivergedNot imported
PartnersIn syncNot imported
Imported by 1 file across the apps. From olympus-backend@2ee40d05e, Oct 26, 2026. โIn syncโ means the app's copy matches this registry; refresh with npm run usage:build.