Adds support for custom prop scroll. It'll apply all necessary CSS to create scrollable boxes with hidden scrollbars where possible. It mostly has mobile use cases.


Live Editor

Available values#

  • x: Enable horizontal scrolling.
  • y: Enable vertical scrolling.
  • true: Enable scrolling in both directions.


The plugin is included in the ccss package pre-configured. Skip this step if you don't need custom configuration and/or CCSS instance.

import ccss from '@cryptic-css/core'
import propScroll from '@cryptic-css/prop-scroll'
Last updated on by Victor Vincent