1.1.14 • Published 1 year ago

complexes-next-components v1.1.14

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

Complexes Components

Versions


Before Starting

Installation

npm i complexes-next-components


/tailwind.config.ts
import type { Config } from "tailwindcss";

  content: [
    "./node_modules/complexes-next-components/dist/complexes-next-components.js",
  ]

complexesui usalle Avatar

import { Avatar } from "complexes-next-components";

<Avatar
  src="/GitHub.png"
  alt="Miguel"
  size="sm"
  border="none"
  shape="rounded"
/>;

complexesui usalle InputField

import { InputField } from "complexes-next-components";

<InputField
  placeholder="nombre"
  inputSize="full"
  rounded="md"
  className="mt-2"
  type="text"
  {...register("name")}
  hasError={!!errors.name}
  errorMessage={errors.name?.message}
/>;

complexesui usalle SelectField

import { SelectField } from "complexes-next-components";

const [selectedOption, setSelectedOption] = useState("");

const options = [
  { value: "Bogotá", label: "Bogotá" },
  { value: "Medellin", label: "Medellin" },
  { value: "Cali", label: "Cali" },
];

<SelectField
  className="mt-2"
  id="city"
  defaultOption="Ciudad"
  value={selectedOption}
  options={options}
  inputSize="full"
  rounded="md"
  hasError={!!errors.city}
/>;

complexesui usalle Tabs

import { Tabs } from "complexes-next-components";

 const tabs = [
    {
      label: "Frontend",
      children: <FrontedSkill />,
      colVariant: "default",
      size: "md",
      background: "default",
      padding: "md",
      rounded: "lg",
    },
 ]

  <Tabs tabs={tabs} defaultActiveIndex={0} />

complexesui usalle Modal

import { Modal, Text } from "complexes-next-components";

<Modal isOpen={isOpen} onClose={onClose} title={title}>
  <Text colVariant="primary">description</Text>
</Modal>;

complexesui usalle Button

import { Button } from "complexes-next-components";

   <Title size="md" font="semi">Complexes</Title>

    <Button colVariant="warning">
        button
    </Button>

complexesui usalle Buton

import { Button } from "complexes-next-components";

   <Title size="md" font="semi">Complexes</Title>

    <Buton colVariant="warning">
        button
    </Buton>

complexesui usalle Tittle

import { Title } from "complexes-next-components";

<Title size="md" font="semi">
  Complexes
</Title>;

complexesui usalle Text

import { Text } from "complexes-next-components";

<Text size="lg" font="semi">
  Complexes
</Text>;

Contributing

If you have ideas, find any issues, or want to contribute, please visit our GitHub repository:

GitHub - complexes-next-components

1.1.14

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.13

1 year ago

1.1.9

1 year ago

1.1.10

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.1

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

0.0.1

2 years ago

0.0.0

2 years ago