+ The Paper component provides an elevated surface for displaying + content. It mimics the behavior of real-world surfaces with shadow + effects, supporting Material Design's elevation system. +
+ ++ Here’s a simple example of a Paper component with default elevation. + This creates a surface with a subtle shadow. +
+
+ The elevation
prop controls the shadow depth. Use
+ values from 0 to 24 to create varying levels of elevation:
+
+ The Paper component supports two variants: elevation
{" "}
+ (default) and outlined
. The outlined variant removes
+ shadows and adds a border instead:
+
+ By default, the Paper component has rounded corners. You can make it
+ square by setting the square
prop to true
.
+
+ The Paper component provides an elevated surface for displaying + content. It mimics the behavior of real-world surfaces with shadow + effects, supporting Material Design's elevation system. +
+ ++ When using the Paper component, follow these guidelines to ensure + consistency and usability across your designs. +
+ + +outlined
variant for areas where shadows
+ might feel visually overwhelming.
+ + The Paper component provides an elevated surface for displaying + content. It mimics the behavior of real-world surfaces with shadow + effects, supporting Material Design's elevation system. +
+ ++ The Paper component is useful for designs that require elevated + surfaces, such as cards or modals, and offers multiple configuration + options like elevation, variants, and corner styles. +
+ + +
+ Paper can be configured with different elevation
levels
+ to establish a visual hierarchy, and it also supports a flat,
+ outlined variant.
+
+ The elevation prop determines the shadow depth, with values ranging + from 0 (no shadow) to 24 (maximum shadow). +
+ +
+ For designs requiring minimal shadows, the outlined
{" "}
+ variant can be used instead of the default elevated one.
+
+ The Paper component has rounded corners by default, but you can use
+ the square
prop to remove rounding.
+
+ The Popper component provides a mechanism for positioning content + dynamically relative to a reference element. It is commonly used for + tooltips, dropdowns, and modals, enhancing the user experience by + presenting contextual information without overcrowding the interface. +
++ Proper usage of the Popper component can greatly enhance user + experience by providing relevant contextual information at the right + time. Below are some guidelines to ensure effective implementation. +
+ + ++ The positioning of the Popper is critical for usability. Use the + `placement` prop to control where the Popper appears relative to its + anchor element. Options include: +
++ Choosing the right position helps to prevent overlap with other + interface elements and improves readability. +
+ + ++ The Popper component inherits styles from the Sistent theme. You can + customize the appearance by applying styles to the content inside + the Popper. For instance: +
++ Ensure that the styling aligns with your application's theme for a + cohesive look and feel. +
+ + ++ It’s important to ensure that the Popper component is accessible to + all users. Here are some key considerations: +
+aria-
attributes to enhance screen
+ reader compatibility, such as aria-describedby
for
+ tooltips.
+ + When using the Popper component, consider the following to optimize + performance: +
+