Dyvix is an open source, modern, config-driven, animated component UI library. Beautiful by default, customizable by design.
npm i dyvix-uiimport { Modal } from 'dyvix-ui'
function ModalExample()
{
return(
<Modal
title="Register"
type="form"
animation="bubble" // bubble | fade | zoom | unfold | glitch
Id="register-modal"
Class="modal"
theme='Singularity' // Singularity | Industrial | Ember | Frost | Blade
elements={[
{ type: "text", placeholder: ["First Name", "Last Name"], id: "name", name: ["firstName", "lastName"], className: "ex-text", amount: 2 },
{ type: "email", placeholder: "Email", validation: ["email"], id: "email", name: "email", className: "ex-text", amount: 1 },
{ type: "password", placeholder: "Password", validation: ["password"], id: "password", name: "password", className: "ex-text", amount: 1 },
]}
onSubmit={(data) => console.log(data)}
/>
)
}Full Documentation & Live Demos: dyvix-ui.vercel.app
Feel free to open meaningful issues and prs. Check our contributing guide and open contribution trackers:
- Add new themes
- Add new animations

