1.1.11 • Published 9 months ago

@merely-ui/react v1.1.11

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Documentation

Website for documentation is under development and will be ready soon ^_^

Features

  • Styling Props: Merely UI provides a set of styling props that make it easy to style your components directly in JSX.
  • Bundle-Friendly: Merely UI bundle size is really small and amounts to 3.3kb at minzipped variant.
  • Color Mode Switch: Merely UI has easy color mode switching out-of-the-box and all components are compatible with Light and Dark mode.
  • Accessible. Merely UI components follow the WAI-ARIA guidelines specifications.

Installation

# with Yarn
$ yarn add @merely-ui/react

# with npm
$ npm i @merely-ui/react

# with pnpm
$ pnpm add @merely-ui/react

# with Bun
$ bun add @merely-ui/react

Usage

Before using the components, please do this:

  1. Wrap your application with the MerelyProvider provided by @merely-ui/react.
...
import { MerelyProvider } from "@merely-ui/react"

// Do this at the root of your application
ReactDOM.createRoot(document.getElementById('root')!).render(
 <StrictMode>
   <MerelyProvider>
     <App />
   </MerelyProvider>
 </StrictMode>
)
  1. Use Merely UI components:
import { Button } from '@merely-ui/react'

function App() {
  return <Button>Click me!</Button>
}

License

MIT

1.1.11

9 months ago

1.1.10

9 months ago

1.1.9

10 months ago

1.1.8

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago

0.0.1

11 months ago