Lanceringsuge50 % rabat på et år AuteurSe planer
SpacesFå 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.

Draw anything. Tap the colour or the size and watch the bar change.
Karakter
Legesyg
Tilmeld dig gratis for at downloade

Brug den 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

Læst direkte fra komponentens egen TypeScript, så de altid er opdaterede.

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

Giv din agent en, så bruger den Sketchpad, som den er 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
379 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æsteWarped carousel