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

Day dial Gratis

The day on an arc of ticks, today at the top. Slide it round to go back through your days: it carries your flick, clicks past every tick, resists past either end and settles on a day.

Slide it, flick it, or tap either side.

Karaktär
Lekfull
Registrera dig gratis för att ladda ner

Använd till

  • Diaries, trackers and logs where you look back day by day.

Inte till

  • Picking dates far away. Use a calendar.

Props

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

PropTypStandard
valueKrävsnumber
onChangeKrävs(day: number) => void
backnumber60
mark(day: number) => DayMark | null
localestring

Bättre med en skill

Ge din agent en, så använder den Day dial som det är tänkt.

Spacing and buttonsGratis

Sizes and spaces it on the same scale as the rest of the page, so it sits right.

$npx velvo skill spacing-and-buttons
Läs skillen
Motion with weightGratis

Keeps its springs and press feel intact when your agent wires it into your app.

$npx velvo skill velvo-motion
Läs skillen

Specs

Category
Controls
Tier
Free
Built with
React and TypeScript
Files
16
Size
311 KB
Needs
framer-motion
Install
npx velvo add day-dial
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

controlsgesturefreereact
NästaText field