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

Broken light Pro

Words written in light with a failing tube: most letters burn steady, a couple flicker in hard bursts, one has nearly died. Made for 404s, launches and late-night signs.

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

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

$npx velvo add broken-light

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

Подходит для

  • 404 and error pages.
  • A headline on a dark hero.

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

  • Light backgrounds: the glow needs the dark.
  • Long sentences.

Пропсы

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

ПропсТипПо умолчанию
textОбязательныйstring
colorstringThe colour of the light. White reads as a bare tube; any colour reads as neon.'#ffffff'
sizenumber | stringFont size: a number of pixels or any CSS length (clamp() works).64
flickernumber[]Which letters flicker and which have nearly died, by position in the text. Picked from the text when left out.
dyingnumber[]
asElementType'h1'
classNamestring''

Specs

Category
Text
Tier
Pro
Built with
React and TypeScript
Files
14
Size
301 KB
Needs
Nothing besides React
Install
npx velvo add broken-light
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

textgesturetypographyproreact
ДальшеGlow grid