Неделя запускаСкидка 50% на год AuteurТарифы
Все компоненты

Liquid toggle Pro

A switch whose knob stretches like a drop of liquid on its way across, a trailing drop catching up behind it.

Открыть в редакторе
Wi‑Fi
Bluetooth
Характер
Игривый

Добавить в приложение

$npx velvo add liquid-toggle

Для Claude Code, Cursor и любого проекта с терминалом.

Подходит для

  • Playful apps, kids and wellbeing, the one switch you want people to notice.

Не подходит для

  • Long lists of settings. Use the plain toggle there.

Пропсы

Прочитаны прямо из TypeScript компонента, поэтому всегда актуальны.

ПропсТипПо умолчанию
onОбязательныйboolean
onChangeОбязательный(v: boolean) => void
labelОбязательныйstring

Лучше с навыком

Добавьте навык агенту, и он будет использовать Liquid toggle так, как задумано.

Spacing and buttonsБесплатно

Sizes and spaces it on the same scale as the rest of the page, so it sits right.

$npx velvo skill spacing-and-buttons
Открыть навык
Motion with weightБесплатно

Keeps its springs and press feel intact when your agent wires it into your app.

$npx velvo skill velvo-motion
Открыть навык

Specs

Category
Controls
Tier
Pro
Built with
React and TypeScript
Files
16
Size
302 KB
Needs
framer-motion
Install
npx velvo add liquid-toggle
Works with
Next.js, Vite, Remix, Expo web

Licence

Velvo Pro licence
  • Personal and commercial use
  • Change it however you like
  • No credit needed

Not for resale as a component or a UI kit.

Tags

controlscontrolproreact
ДальшеMood slider