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

Popover Бесплатно

Grows out of the button you pressed, from the point it hangs from. Click outside or press Escape.

Открыть в редакторе

Click outside or press Escape to close.

Характер
Игривый
Зарегистрируйтесь бесплатно, чтобы скачать

Подходит для

  • A few options tied to one button.

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

  • Anything long. Use a sheet.

Пропсы

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

ПропсТипПо умолчанию
triggerОбязательныйReactNode
childrenОбязательныйReactNode
labelОбязательныйstring
side'bottom' | 'top''bottom'

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

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

Page structureБесплатно

Decides where it goes on the page and what sits around it.

$npx velvo skill page-structure
Открыть навык
Less is moreБесплатно

One of these per screen is plenty. This skill keeps it that way.

$npx velvo skill less-is-more
Открыть навык

Specs

Category
Surfaces
Tier
Free
Built with
React and TypeScript
Files
16
Size
305 KB
Needs
framer-motion
Install
npx velvo add popover
Works with
Next.js, Vite, Remix, Expo web

Licence

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

Not for resale as a component or a UI kit.

Tags

surfacesfreereact
ДальшеMarquee