Live line Grátis
A chart for numbers that change while you watch. The line eases to each new value, the scale glides, the head breathes, and you can scrub back through time.
ETH$2,442.54+12.54 (0.52%)
Cadastre-se grátis para baixar
Use para
- Prices, live metrics, sensor readings, anything that updates every second or so.
- Dashboards where the latest value matters most and the history gives it context.
Não use para
- Comparing several series. Use a static chart with a legend.
- Data that updates once a day. Let a plain chart sit still.
Props
Lidas do próprio TypeScript do componente, então estão sempre atualizadas.
PropTipoPadrão
dataObrigatóriaLivePoint[]Points so far, oldest first. `time` is in seconds (Date.now() / 1000).valueObrigatórianumberThe latest value. The line eases toward it.colorstringgridbooleantruetagbooleanThe value tag on the right edge.truefillbooleantruepulsebooleanThe head's slow ring.truelineWidthnumber2momentumbooleanTint the head and tag green or red by which way the value is heading.truescrubbooleanHover or drag to read any moment.truewindownumberSeconds of history on screen.30windowsLiveWindow[]onWindowChange(secs: number) => voidwindowStyle'pill' | 'segment' | 'text''pill'loadingbooleanA soft breathing line while you wait for data.falsepausedbooleanStop scrolling. When it resumes it catches up with the present.falseemptyTextstring'Nothing yet'referenceLiveReferenceformatValue(v: number) => string(v) => v.toFixed(2)formatTime(t: number) => stringclockeasenumberHow quickly the line follows a new value, 0 to 1.0.08onScrub(p: LivePoint | null) => voidclassNamestringstyleCSSPropertiesMelhore com uma skill
Adicione uma ao seu agente e ele usa Live line do jeito que foi pensado.
Colour and hierarchyGrátis
Picks colours that keep it readable and calm, in light and dark.
$
Ler a skillnpx velvo skill colour-and-hierarchyProduct demosGrátis
Turns it into a demo for your landing page that reads as the real product.
$
Ler a skillnpx velvo skill product-stageSpecs
- Category
- Media
- Tier
- Free
- Built with
- React and TypeScript
- Files
- 14
- Size
- 312 KB
- Needs
- framer-motion
- Install
- npx velvo add live-line
- 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.