Back to Plugins

Stroke Width Randomizer
Apply random stroke widths to selected objects within a customizable range.
Plugin Preview
About this plugin
A powerful Figma plugin that applies random stroke widths to selected objects within a customizable range. Perfect for creating organic, hand-drawn effects or adding visual variety to your designs.
ㅤ
Features
- Live Preview: See changes in real-time as you adjust settings
- Customizable Range: Set minimum and maximum stroke width values (0-100px)
- Smart Controls: Interactive sliders and numeric inputs with keyboard shortcuts
- Zero-Stroke Handling: Option to skip objects that don't have strokes
- Nested Object Support: Apply randomization to child elements within groups and frames
ㅤ
ㅤ
➊ Getting Started
- Select Objects: Choose one or more objects in your Figma canvas that you want to apply random stroke widths to
- Open Plugin: Go to Plugins → Stroke Width Randomizer
- Adjust Settings: Configure your desired stroke width range and options
- Preview Changes: The plugin shows live preview by default
- Apply: Click "Apply Random Stroke" to finalize the changes
ㅤ
ㅤ
➋ Interface Overview
ㅤ
Stroke Width Range
- Minimum Stroke Width: The lowest possible stroke width (0-100px)
- Maximum Stroke Width: The highest possible stroke width (0-100px)
- Use sliders for quick adjustments or input fields for precise values
ㅤ
Options
- Skip Zero Stroke Objects: When enabled, objects without existing strokes will be ignored
- Live Preview: Toggle real-time preview of changes (enabled by default)
- Include Nested Objects: Apply randomization to child elements within selected groups/frames
ㅤ
Controls
- Randomize: Generate a new random pattern while keeping the same settings
- Apply Random Stroke: Apply the current preview to your selection permanently
- Cancel: Close the plugin and revert any preview changes
ㅤ
ㅤ
➌ Keyboard Shortcuts
When focused on numeric input fields:
- Arrow Keys: Adjust value by ±1
- Shift + Arrow Keys: Adjust value by ±10
- Cmd/Ctrl + Arrow Keys: Adjust value by ±0.1
Slider Shortcuts
- Right-click or Double-click on minimum slider: Reset to 0
- Drag sliders: Real-time value adjustment with live preview
ㅤ
ㅤ
➍ Advanced Usage
Working with Groups and Frames
The plugin can handle nested objects in two ways:
- Selected Objects Only: Apply randomization only to the directly selected items
- Include Nested Objects: Apply randomization to all child elements within selected groups, frames, or components
Zero-Stroke Handling
- Skip Enabled: Objects without strokes remain unchanged
- Skip Disabled: Objects without strokes will receive new random stroke widths and default black stroke color
Preview Mode
- Live preview shows changes immediately as you adjust settings
- Each preview uses a unique random seed for variation
- The "Randomize" button generates new random patterns
- Final application can either match the preview exactly or generate new random values
ㅤ
ㅤ
➎ Best Practices
- Start with Preview: Always use the live preview to see how your settings affect the selection
- Adjust Range Gradually: Begin with a small range and expand as needed
- Consider Object Hierarchy: Use "Include Nested Objects" for complex groups
- Save Originals: The plugin automatically saves original stroke widths for the session, but consider duplicating important objects
- Experiment with Seeds: Use the "Randomize" button to explore different random patterns
ㅤ
ㅤ
Need more design tools? Visit Samolevsky.com to discover more plugins and resources.
Plugin Details
| Version | 1 |
|---|---|
| Created | March 12, 2025 |
| Last Updated | October 26, 2025 |
| Category | editing & effects plugins |
| Creator | Samolevsky |
| Stats | 10 installs, 5 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:ui.html
- main:code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- https://samolevsky.com
More Like This
Discover other plugins in the editing & effects plugins category.