0.10.4 • Published 12 months ago

@cerberus-design/react v0.10.4

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

Cerberus React

This is the React component library for Cerberus.

Installation

pnpm add @cerberus-design/react

Usage

import { Button } from '@cerberus-design/react'

function BasicExample() {
  return (
    <form>
      <Button type="submit">Submit</Button>
    </form>
  )
}

Basic Customization

import { Button } from '@cerberus-design/react'

function BasicExample() {
  return (
    <form>
      <Button palette="danger" usage="outline" type="button">Cancel</Button>
    </form>
  )
}

Advanced Customization

You can use Panda-CSS to customize the styles of the components.

import { Button } from '@cerberus-design/react'
import { css } from '../styled-system/css'

function CustomButton() {
  return (
    <Button
      className={css({
          backgroundColor: 'yellow',
          color: 'black',
          borderRadius: '0.5rem',
          '&:hover': {
            backgroundColor: 'black',
            color: 'yellow'
          },
        })}
    >
      Wu-Tang Forever
    </Button>
  )
}

Copyright (c) 2024 Digital University, All Rights Reserved

0.10.4-next-31dc3d6

12 months ago

0.10.4-next-57d0ee2

12 months ago

0.10.4-next-271fee4

12 months ago

0.10.4-next-1e18006

12 months ago

0.10.4-next-f625df5

12 months ago

0.10.4-next-82dd4b3

12 months ago

0.10.4-next-580a32d

12 months ago

0.10.4-next-6b8d314

12 months ago

0.10.4

1 year ago

0.10.1

1 year ago

0.10.2

1 year ago

0.10.3

1 year ago

0.10.0

1 year ago

0.8.1

1 year ago

0.8.0

1 year ago

0.9.0

1 year ago

0.9.2

1 year ago

0.9.1

1 year ago

0.7.2

1 year ago

0.7.1

1 year ago

0.7.4

1 year ago

0.3.2

1 year ago

0.7.0

1 year ago

0.4.0

1 year ago

0.1.0

1 year ago

0.1.1

1 year ago

0.5.0

1 year ago

0.1.3

1 year ago

0.5.2

1 year ago

0.5.1

1 year ago

0.2.0

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago