Lanseringsvecka50 % rabatt på ett år AuteurSe planer
MCP
SpacesSkaffa Pro
Alla komponenter

Liquid glass kit Pro

A whole set made of thick, clear glass: a switch, a segmented control, a prompt bar, buttons and a day card. The rims bend the light behind them, and the light drifts so you can watch it happen.

Öppna i editorn
Mon19in 15 min0
Karaktär
Lekfull

Lägg till i din app

$npx velvo add glass-kit

För Claude Code, Cursor eller vilket projekt som helst med terminal.

Använd till

  • Over an aura, a photo or a video, where the glass has colour to bend.
  • Hero sections and launch pages that need to stop the scroll.
  • Media apps, music players and home screens.

Inte till

  • Plain white or black pages: clear glass needs colour behind it.
  • Dense forms people fill in for minutes at a time.

Props

Lästa direkt ur komponentens egen TypeScript, så de är alltid aktuella.

<GlassStage />

PropTypStandard
sceneGlassScene'ember'
childrenKrävsReactNode
classNamestring''
driftbooleantrue

<GlassAgenda />

PropTypStandard
daystring'Mon'
datenumber19
nextstring'in 15 min'
progressnumber75
eventsKrävsGlassEvent[]

<GlassSwitch />

PropTypStandard
onboolean
defaultOnbooleanfalse
onChange(on: boolean) => void
iconIconName'location'
sizenumber1
labelstring'Switch'

<GlassPrompt />

PropTypStandard
placeholderstring'How can I help?'
onSend(text: string) => void

<GlassSegmented />

PropTypStandard
optionsKrävs{ id: T; label: string }[]
valueT
defaultValueT
onChange(v: T) => void
labelstring'Choose one'

<GlassButton />

PropTypStandard
childrenReactNode
iconIconName
iconEndIconName
roundbooleanfalse
onClick() => void
labelstring
classNamestring''

Specs

Category
Glass
Tier
Pro
Built with
React and TypeScript
Files
18
Size
410 KB
Needs
framer-motion
Install
npx velvo add glass-kit
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

glasschartpaymentsaicontrolproreact
NästaGlass switch