Socket
Socket
Sign inDemoInstall

@deca-ui/react

Package Overview
Dependencies
27
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @deca-ui/react

DecaUI is production-ready themable component library built with StitchesJS.


Version published
Maintainers
1
Created

Changelog

Source

1.5.2 (2023-01-24)

Bug Fixes

  • components/checkbox: fixed color of check when in darkmode (c7c9223)

Readme

Source

DecaUI logo

DecaUI

Overview of Components

DecaUI provides a set of accessible and customizable React components that make it make it easy to quickly prototype and develop stunning websites.

Getting Started

npm install @deca-ui/react

Using a component

Here is a simple example of a basic app using DecaUI's Button component

import { Button } from '@deca-ui/react';

function App() {
  return <Button variant="solid">Hello World</Button>;
}
Click here for the full documentation

What's so different about DecaUI

With DecaUI, developers can use the centralized theming system anywhere within their application with shorthand names for css properties.

Custom CSS with other UI libraries

<Box
  sx={{
    marginRight: '2rem',
    marginLeft: '2rem',
    marginTop: '2rem',
    marginBottom: '2rem',
  }}
>
  <Input placeholder="Email Address" />
  <Input placeholder="Password" />
  <Button
    sx={{
      width: '100%',
    }}
  >
    Create Account
  </Button>
</Box>

Custom CSS with DecaUI

<Box css={{ m: 'md' }}>
  <Input placeholder="Email Address" />
  <Input placeholder="Password" />
  <Button maxWidth>Create Account</Button>
</Box>

Our focus is consistancy

The main problem with other UI libraries is that it's confusing to create consistant webpage layouts with them. DecaUI allows developers to utilize a root theme object which serves properties following the System UI specification.

License

Heril Saha

MIT @ Heril Saha

Keywords

FAQs

Last updated on 24 Jan 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc