How to install the VSCode Snippets Extension
Video Guide
Coming soon
In this short guide, we'll explore how to install the React Bricks snippets extension for Visual Studio Code to speed up your brick creation process.
Open Visual Studio Code, go to Settings > Extensions, and search for "React Bricks" in the search box.
After installation, you can create a brick by simply typing brick
.
The extension also lets you quickly add visually editable elements like Text
, RichText
, and Image
. For sideEditProps
, you can easily insert sidebar controls and select props, making your development workflow more efficient.
Available snippets
brick→ | Scaffolds a new Brick. Use it in a new file |
sideEditProp→ | Creates a new SideEditProp |
selectOptions→ | Creates the selectOptions for a select SideEditProp |
Text→ | Adds a React Bricks <Text> component |
RichText→ | Adds a React Bricks <RichText> component |
Image→ | Adds a React Bricks <Image> component |
Repeater→ | Adds a React Bricks <Repeater> component |
File→ | Adds a React Bricks <File> component |