Semaine de lancement50 % sur un an d’AuteurVoir les offres
EspacesPasser à Pro
Tous les composants

Sketchpad Gratuit

A drawing surface with a toolbar that changes shape. Pens stand like pencils in a tray, the palette and size slide in where the pens were, and it folds into a disc.

Ouvrir dans l’éditeur
Draw anything. Tap the colour or the size and watch the bar change.
Caractère
Joueur
Inscrivez-vous gratuitement pour télécharger

À utiliser pour

  • Annotating a screenshot or a design, marking up a photo.
  • Signatures, whiteboards, kids’ apps, quick notes.

Pas pour

  • Precise diagrams. People want shapes that snap; use a diagram tool.
  • Tiny spaces. Give it at least 320 by 260.

Props

Lues dans le TypeScript du composant lui-même, donc toujours à jour.

PropTypePar défaut
pensPenId[]ALL
eraserbooleantrue
colorsstring[]COLORS
backgroundstringAny CSS colour, or "transparent" so whatever is behind shows through.'#ffffff'
placement'bottom' | 'left' | 'auto'Where the bar sits. "auto" stands it up on the left when the pad is narrow.'auto'
startFoldedbooleanfalse
initialSketchStroke[][]
onChange(strokes: SketchStroke[]) => void
classNamestring
styleCSSProperties

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera Sketchpad comme prévu.

Motion with weightGratuit

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

$npx velvo skill velvo-motion
Lire la skill
Less is moreGratuit

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

$npx velvo skill less-is-more
Lire la skill

Specs

Category
Media
Tier
Free
Built with
React and TypeScript
Files
17
Size
390 KB
Needs
framer-motion
Install
npx velvo add sketchpad
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

mediachartfreereact
SuivantWarped carousel