@ps-ector/ector-ui-kit
v0.0.13
Published
Provide a set of components to build a UI.
Downloads
3
Readme
Ector UI Kit
Provide a set of components to build a UI.
Development: https://uikitdev.ector.store Production: https://uikit.ector.store
Installation
npm i @ps-ector/ector-ui-kit
Usage
import { Button } from "@ps-ector/ector-ui-kit";
Or just copy/paste the HTML if your project already have Tailwind installed. Follow the Get started of storybook page https://uikitdev.ector.store
Components
<Breadcrumbs option={["Home", "Pricing", "Here"]}></Breadcrumbs>
<Tab
options={[
{
tab: "JOIN NOW",
id: "tab-1",
content: (
<>
<p>
By drastically reducing the amount of code that's shipped to
the user, we're achieving maximum performance.
</p>
<Input label="Join now"></Input>
</>
),
},
{
tab: "Who Should Use Ector",
id: "tab-4",
content:
"Ector is tailored for web agencies seeking to streamline their Prestashop development process and provide exceptional e-commerce solutions to their clients. Whether you're an experienced developer or new to Prestashop, Ector offers the tools and resources needed to create outstanding online stores efficiently.",
},
{
tab: "Reduced complexity",
id: "tab-3",
content:
"Estimating how long it takes to build a project is hard. Especially with techniques that are new and constantly changing. That's why we've picked future proof tools that have already proven themselves",
},
]}
></Tab>
<Title label="This is a animate Title"></Title>
<Input label="Your email" />
<Input label="Your password" />
<Input label="A very long sequence" />
<Checkbox label="Checkbox"></Checkbox>
<Toggle label="A toggle"></Toggle>
<Select label="A select" option={["1", "2"]}></Select>
<Radio label="Choice 1"></Radio>
<Radio label="Choice 2"></Radio>
<Radio label="Choice 3" disabled></Radio>
<Button primary size="large">
ciao
</Button>
<Loader mode="round"></Loader>
<Loader mode="linear"></Loader>
<Progress percentage={20} message="Work in progress..."></Progress>
<Counter label="SEO" description="Performance."></Counter>
<Boost></Boost>
<Steps
redirect="www.redirect.it"
options={[
{
name: "Details",
href: "#",
content: (
<>
<p>
By drastically reducing the amount of code that's shipped to
the user, we're achieving maximum performance.
</p>
<Input label="Join now"></Input>
</>
),
},
{
name: "Application form",
href: "#",
content: (
<>
<p>
Estimating how long it takes to build a project is hard.
Especially with techniques that are new and constantly
changing. That's why we've picked future proof tools that
have already proven themselves
</p>
<Button primary size="large">
Try it
</Button>
</>
),
},
{
name: "Preview",
href: "#",
content:
"Estimating how long it takes to build a project is hard. Especially with techniques that are new and constantly changing. That's why we've picked future proof tools that have already proven themselves",
},
]}
></Steps>
Update storybook
Just push on the branch, if master is updated, the storybook will be updated automatically in production, in development you deploy to development environment.
Update NPM package
TODO: Automatic deploy
For now just use npm publish command and update version manually.