@astrum-ui/core
v1.1.1
Published
A collection of React UI components, providing versatile and customizable solutions for front-end development.
Downloads
14
Maintainers
Readme
@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
- Modal
- Paginate
Alternatively, install individual components separately:
Explore more components soon to be unveiled!