1.1.1 • Published 1 year ago

@astrum-ui/core v1.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

@astrum-ui/core

A collection of React UI components, providing versatile and customizable solutions for front-end development.

Installation

To access the complete suite of components:

npm install --save @astrum-ui/core

or install components seperately

Usage

import { Modal } from @astrum-ui/core
import { useState } from 'react'

export default function HelloModal() {
 const [show, setShow] = useState(false)

 return (
  <>
	 <Modal show={show} setShow={setShow} >
          <h2>Hello world - heading</h2>
	  <div>Hello world - content</div>
	 </Modal>

	 <button type="button" onClick={() => setShow(true)} >
		Show Modal
	 </button>
  </>
 )
}

More examples

Alternatively, install individual components separately:

Explore more components soon to be unveiled!

1.1.1

1 year ago

1.1.0

1 year ago

1.0.2

1 year ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago