Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides use of Sentry's core layout and text primitives from @sentry/scraps over custom Emotion-styled components.
23% 95%+73 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 5 of 22 without it.
This test ran on v2. v6 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
ALWAYS use core components from @sentry/scraps instead of creating styled components with Emotion.
Core components provide consistent styling, responsive design, and better maintainability across the codebase.
For the complete list of supported props and their types, refer to the implementation files:
/static/app/components/core/layout/
container.tsx - Base container with all layout propsflex.tsx - Flex layout primitivegrid.tsx - Grid layout primitivestack.tsx - Stack layout primitive (Flex with column direction by default)/static/app/components/core/text/
text.tsx - Text primitiveheading.tsx - Heading primitiveImportant:
Flex,Grid, andStackall extendContainer. This means every prop available on Container is also available on Flex, Grid, and Stack. When you use<Flex>, you get all Container props (position, padding, border, overflow, etc.) PLUS the flex-specific props. The same applies to Grid and Stack.
Base layout component that supports all common layout properties. Flex, Grid, and Stack extend Container, inheriting all of its props.
Key Props (see container.tsx for complete list):
position: "static" | "relative" | "absolute" | "fixed" | "sticky"padding, paddingTop, paddingBottom, paddingLeft, paddingRight: SpaceSize tokensmargin, marginTop, etc.: SpaceSize tokens (deprecated, prefer gap)width, height, minWidth, maxWidth, minHeight, maxHeightborderColor (all sides), borderTopColor, borderBottomColor, borderLeftColor, borderRightColor (one side): BorderVariant tokens. Draws a solid border, 1px unless borderWidth is setborderWidth: BorderWidthToken (a key of theme.border). On its own it draws all sides in primaryradius: RadiusSize tokensoverflow, overflowX, overflowY: "visible" | "hidden" | "scroll" | "auto"background: BackgroundToken (a path into tokens.background)Next to this one in the catalogue, plus more from the same author.