0.0.10 • Published 5 months ago

@panditamey/ammyui v0.0.10

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

Ammy UI

Progressive ui tailwind based library.

Table of Contents

Installation

npm i @panditamey/ammyui

Card Examples

Basic Card

<Card
  content="Lorem ipsum dolor sit amet, consectetur adipiscing elit."
  title="Card Title"
/>

Featured Card

<Card
  content="This card is featured with additional information."
  featured
  title="Featured Card"
/>

Custom Image Card

<Card
  content="A card with a custom image."
  imageUrl="https://example.com/image.jpg"
  title="Image Card"
/>

Button Examples

Solid Button

<Button variant="solid">
  Button
</Button>

Outline Button

<Button variant="outline">
  Button
</Button>

Ghost Button

<Button variant="ghost">
  Button
</Button>

Form Component Examples

Text Input

<FormComponents
  placeholder="Insert text here"
  type="text"
/>

Password Input

<FormComponents
  placeholder="Password"
  type="password"
/>

Number Input

<FormComponents
  placeholder="Number"
  type="number"
/>

Date Input

<FormComponents
  placeholder="Date"
  type="date"
/>

Modal Example

Open Modal

<>
  <button
    className="bg-blue-500 text-white px-4 py-2"
    onClick={() => {}}
  >
    Open Modal
  </button>
  <Modal
    onClose={() => {}}
    title="Example Modal"
  >
    <p>
      This is the content of the modal.
    </p>
  </Modal>
</>

NavBar Example

My App NavBar

<NavBar
  links={[
    {
      href: '/',
      label: 'Home'
    },
    {
      href: '/about',
      label: 'About'
    },
    {
      href: '/contact',
      label: 'Contact'
    }
  ]}
  title="My App"
/>

Text Example

Custom Text Heading

<Text as="h1">
  lorum ipsum dolor sit amet consectetur adipisicing elit. Quisquam, voluptatum.
</Text>

TextBox

<TextBox
  onChange={() => {}}
  placeholder="Enter text..."
  value=""
/>
0.0.10

5 months ago

0.0.9

5 months ago

0.0.8

5 months ago

0.0.7

5 months ago

0.0.5

5 months ago

0.0.4

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago