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

Sketchpad Gratis

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.

Öppna i editorn
Draw anything. Tap the colour or the size and watch the bar change.
Karaktär
Lekfull
Registrera dig gratis för att ladda ner

Använd till

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

Inte till

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

Props

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

PropTypStandard
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

Bättre med en skill

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

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
Less is moreGratis

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

$npx velvo skill less-is-more
Läs skillen

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
NästaWarped carousel