Skip to content
search icon
clear
Component Status

Figma

How to add

  1. Locate the Assets tab in the Layers Panel.
  2. There are two ways to locate the Scrim component:
    • Use the search bar to search for a component grouping name or variation name.
    • Scroll through the folders list and open the relevant grouping.
  3. Once the component needed is located, click and drag it into the frame/artboard.

API

PropertyTypeRequiredDefaultDescription
classNameStringfalse[Empty String]@ignore
childrenNodefalseundefined@ignore
onCloseFuncfalse() => {}Function to handle closing scrim
isDismissableBoolfalsefalseWhether scrim can be dismissed with esc key
Edit this page on GitHub