Неделя запускаСкидка 50% на год AuteurТарифы
Все компоненты

Sketchpad Бесплатно

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.
Характер
Игривый
Зарегистрируйтесь бесплатно, чтобы скачать

Подходит для

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

Не подходит для

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

Пропсы

Прочитаны прямо из TypeScript компонента, поэтому всегда актуальны.

ПропсТипПо умолчанию
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

Лучше с навыком

Добавьте навык агенту, и он будет использовать Sketchpad так, как задумано.

Motion with weightБесплатно

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

$npx velvo skill velvo-motion
Открыть навык
Less is moreБесплатно

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

$npx velvo skill less-is-more
Открыть навык

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
ДальшеWarped carousel