Loading repository data…
Loading repository data…
HamzaAmar / repository
Pillar is a modern design system built with React, with the goal of providing a comprehensive set of reusable UI components that are fully accessible and adhere to best practices in modern web development.
Pillar is a modern design system built with React, with the goal of providing a comprehensive set of reusable UI components that are fully accessible and adhere to best practices in modern web development.
Before You Install we need to let you know that pillar contain four packages (core, hooks,utils icons).
# you can install all of them or only what you need
#NPM
npm i @pillar-ui/core
# (or | and)
npm i @pillar-ui/hooks
# (or | and)
npm i @pillar-ui/icons
#Yarn
yarn add @pillar-ui/core
# (or | and)
yarn add @pillar-ui/hooks
# (or | and)
yarn add @pillar-ui/icons
import { Button, InputPassword, Input, Checkbox } from 'core'
import { useBoolean } from 'hooks'
import * as Icons from 'icons'
function MyComponent() {
const { state, handleToggle } = useBoolean()
return (
<form aria-label="Register page">
<Input required name="name" autoComplete="name" label="Name" />
<Input type="Email" required name="email" autoComplete="email" label="Email" />
<InputPassword
required
autoComplete="new-password"
label="password"
hint="password must be between 6 to 30 character"
/>
<Checkbox color="p" onChange={handleToggle} label="I agree to the terms and conditions" />
<Button icon={<Icons.Send name="heart" size={24} color="d" />}>Register</Button>
</form>
)
}
We welcome contributions to Pillar-ui, whether that's through reporting issues, submitting feature requests, or contributing code. For More Information Check CONTRIBUTING.md file
We are constantly working to improve Pillar-ui and add new features to the library. Our roadmap includes plans to improve accessibility, add new components, and improve the documentation. We welcome feedback and suggestions from the community and encourage you to get involved in the development process.
Please see our Security Policy for information on how to report security vulnerabilities and our disclosure policy.
If you find Pillar-ui useful and want to support its development and maintenance, you can consider sponsoring the project. Your sponsorship will help cover the costs of development, testing, documentation, and community support. It will also help us allocate more time and resources to improving and expanding the library.
You can sponsor the project on GitHub Sponsors. GitHub Sponsors is a platform that enables you to support open source projects and contributors. You can choose to sponsor us monthly or with a one-time donation. Your sponsorship will be publicly recognized on our GitHub repository and website.
Alternatively, you can also support the project by contributing code, reporting issues, and spreading the word about it. Every little bit helps and we appreciate all contributions, big and small.
Thank you for considering sponsoring Pillar-ui!
Pillar-ui is released under the MIT License.