@novem-ui/button
TypeScript icon, indicating that this package has built-in type declarations

0.0.2-alpha.5 • Public • Published

@novem-ui/button

Usage

<Button />

The component has the following props, plus SpacingProps and all the expected props from the native :

  • baseColor (Optional): It can be any color from the theme, uses orange by default.
  • size (Optional): It can be sm or lg, uses lg by default.
  • hierarchy (Optional): It can be loud, quiet, or link, uses loud by default.
import { Button, ThemeProvider } from '@novem-ui/core'
// or
import { Button } from '@novem-ui/button'
import { ThemeProvider } from '@novem-ui/theme'

function App() {
  return (
    <ThemeProvider>
        <Button>
            Example button
        </Badge>
    </ThemeProvider>
  )
}

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @novem-ui/button

    Weekly Downloads

    0

    Version

    0.0.2-alpha.5

    License

    ISC

    Unpacked Size

    13.2 kB

    Total Files

    18

    Last publish

    Collaborators

    • leonelv