Rakkas allows you to use all styling options available to React apps.
.css file will inject its content to the page via a
<style> tag. During development, it will happen dynamically so you may see a flash of unstyled content. When you build your app for production, though, imported styles will be split into external
For component scoped styles, Rakkas supports CSS modules with the usual naming convention
If the project contains a valid PostCSS config, it will be automatically applied to all imported CSS. CSS preprocessors are also supported out of the box: You just need to install your preferred processor (
stylus) to enable support for
.stylus file extensions. See Vite's documentation for further details.
In addition, Rakkas allows you to use CSS-in-JS solutions. See, for example, the Styled Components integration example.
Tailwind CSS can also be easily integrated: See the example.