Locofy Docs
PluginLegacy (Classic)Ui libraries design systemsWorking with Boostrap

Working with Boostrap

Learn how to use Bootstrap inside your design system.

Tagging a Bootstrap element

To tag a Boostrap element:

  1. Select the Bootstrap element from your Figma file.

  2. Choose the tag from the Locofy plugin: Available tags will be highlighted based on your selection.

Image 43A Bootstrap “Checkbox with Label”

  1. Select Boostrap UI.
Image 44
Note: Some tags are not supported by Bootstrap. In such cases, Bootstrap will not be shown as an option
  1. Select a Variation: Choose the variation of the element you are using
Image 391
  1. Edit Properties: You can further define how this element should work.
Image 202
  1. Check the interactive preview: Play with the interactive preview to verify your element is correctly set up

  2. Click Done.

Locofy provides an interactive preview for you to visualize your element while tagging.

Image 421

Any changes made to your properties settings will update and refresh the interactive preview.

Properties auto-detection

When tagging your Bootstrap element, Locofy reads your Figma design to automatically populate properties for you.

Image 30

Change or cancel Variation

You can switch to a different variation or cancel the variation by clicking the ‘Change’ or ‘Cancel’ button respectively.

Image 45
Note: Similary, if you Change or Cancel the variation, all the changes you have made in the properties section will be discarded.

Theming

Theming is currently not supported for Bootstrap. However, you can use pre-defined Bootstrap styling options for individual elements

To do so, click the “Variant” property and choose from the 8 styles available.

Customizable theming support for Bootstrap is coming soon.

Bootstrap Version

Bootstrap package will be imported as a dependency for the generated code base.

  • react-bootstrap: v2.0.4

On this page