Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Accessible, customizable React components with a centralized theming system, built with TypeScript and Stitches.
DecaUI is a React component library that provides accessible, customizable UI components with a centralized theming system, built with TypeScript and Stitches.
DecaUI is an open-source React component library designed to help developers quickly prototype and build websites. It takes pre-built components such as Button, Input, and Box along with a root theme object as inputs, and outputs styled, accessible UI elements. The library is installed via npm as @deca-ui/react and runs in any React environment, including server-side rendering setups. It was created by the deca-org team and published under an open-source license.
m: "md" for margin, and even a maxWidth prop directly on Button.variant="solid", to switch between visual styles.Install the package with npm install @deca-ui/react, then import components like Button. Customize styling either through CSS props passed to components or by defining a centralized theme object that follows the System UI specification.
No. As of June 28, 2023, DecaUI is no longer actively maintained, as stated in a warning at the top of the README. This means no new features or updates are expected, though the package remains available on npm.
Run npm install @deca-ui/react in your React project. Then you can import components such as Button and Box from @deca-ui/react.
DecaUI uses Stitches, a CSS-in-JS library that supports server-side rendering. The theming system follows the System UI theme specification, allowing shorthand CSS properties like m: "md" for margin.
Yes. Since DecaUI is React-based and Stitches supports server-side rendering, it works with Next.js and other SSR React frameworks. The project topics include server-side-rendering.
