ScrapeStudioStyle Formats
Style Formats
ScrapeStudio supports multiple styling approaches for your extracted components, allowing you to choose the format that best fits your project's needs.
Available Style Formats
Choosing a Style Format
When deciding which style format to use, consider the following factors:
- Project Requirements: Match your existing project's styling approach
- Team Preferences: Use what your team is most comfortable with
- Component Complexity: More complex components may benefit from CSS Modules or Styled Components
- Maintainability: Consider how easy it will be to maintain and update styles
Style Format Settings
You can configure your preferred style format in the Settings panel:
Prop | Type | Default |
---|---|---|
defaultStyleFormat | string | inline |
preserveClassNames | boolean | true |
extractMediaQueries | boolean | true |
Advanced Style Features
CSS Variables
ScrapeStudio preserves CSS variables (custom properties) in the extracted styles:
Media Queries
When extracting responsive components, ScrapeStudio preserves media queries:
Pseudo-Classes and Pseudo-Elements
ScrapeStudio preserves pseudo-classes and pseudo-elements in the extracted styles:
Last updated on