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

Appearance picker Pro

Light, dark or automatic, shown on a phone rather than described.

Открыть в редакторе
Показано в

Choose your look

Light, dark, or follow your phone. You can change it any time in Settings.

Характер
Игривый

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

$npx velvo add appearance-picker

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

Подходит для

  • The last step of onboarding, so the app feels like theirs before they start.
  • A Display or Appearance page in Settings.

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

  • A toolbar or menu. A plain toggle is quicker there.
  • Apps with only one look. Don’t offer a choice you can’t honour everywhere.

Пропсы

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

ПропсТипПо умолчанию
valueОбязательныйLook
onChangeОбязательный(v: Look, from: { x: number; y: number }) => voidGets the point you tapped, so the change can spread out from it.
variant'stage' | 'thumbs'
preview(night: boolean) => ReactNodeYour app's screen, drawn small. Gets `night` for the dark side.

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

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

Colour and hierarchyБесплатно

Picks colours that keep it readable and calm, in light and dark.

$npx velvo skill colour-and-hierarchy
Открыть навык
OnboardingPro

Uses it to get people to their first win in under a minute.

Входит в ProОткрыть навык

Specs

Category
Controls
Tier
Pro
Built with
React and TypeScript
Files
17
Size
371 KB
Needs
framer-motion
Install
npx velvo add appearance-picker
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

controlsmobileproreact
ДальшеSegmented control