Lanseringsuke50 % rabatt på ett år AuteurSe planer
SpacesSkaff Pro
Alle 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.

Åpne i editoren
Draw anything. Tap the colour or the size and watch the bar change.
Karakter
Leken
Registrer deg gratis for å laste ned

Bruk til

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

Ikke til

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

Props

Lest rett fra komponentens egen TypeScript, så de er alltid oppdatert.

PropTypeStandard
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

Bedre med en skill

Gi agenten din en, så bruker den Sketchpad slik den er tenkt.

Motion with weightGratis

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

$npx velvo skill velvo-motion
Les skillen
Less is moreGratis

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

$npx velvo skill less-is-more
Les 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
NesteWarped carousel