3.0.1 • Published 1 year ago

@jouwomgeving/ui-card v3.0.1

Weekly downloads
26
License
UNLICENSED
Repository
bitbucket
Last release
1 year ago

Flex

$ npm install @jouwomgeving/ui-card

Usage

import * as Icon from '@jouwomgeving/ui-icon';
import * as Button from '@jouwomgeving/ui-form';
import * as Card from '@jouwomgeving/ui-card';

function Layout() {
  return (
    <Card.default>
      <Card.Header
        icon={(<Icon.SmashIcon.Mailbox />)}
        title="Berichten"
        actions={(<Button.default
          prefix={(<Icon.FontAwesome.FaEdit color="rgba(255, 255, 255, 0.8)" size={18} />)}
          label="Nieuw bericht"
        />)}
      />
      <Card.Delimiter />
      <Card.Row>
        <p>
          Nulla vitae elit libero, a pharetra augue.
          Nullam quis risus eget urna mollis ornare vel eu leo.
          Maecenas faucibus mollis interdum. Maecenas faucibus mollis interdum.
          Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.
          Curabitur blandit tempus porttitor.
        </p>
        <p>
          Aenean lacinia bibendum nulla sed consectetur.
          Integer posuere erat a ante venenatis dapibus posuere velit aliquet.
          Vestibulum id ligula porta felis euismod semper.
          Curabitur blandit tempus porttitor.
          Nullam id dolor id nibh ultricies vehicula ut id elit.
          Etiam porta sem malesuada magna mollis euismod.
        </p>
      </Card.Row>
    </Card.default>
  )
}

export default Layout

Components

Card

About

The basic wrapper for cards

Properties

PropValuesDefaultRequired
childrenReactElementtrue

Header

About

Card Header component

Properties

PropValuesDefaultRequired
childrenReactElementtrue
titleStringtrue
subTitleStringfalse
actionsReactElementfalse

Row

About

Useful for layout within a card this will add the right paddings for layouts.

Properties

PropValuesDefaultRequired
childrenReactElementtrue

Delimiter

About

Delimiter in the card component.

3.0.1

1 year ago

3.0.0

1 year ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.4.11

5 years ago

1.4.10

7 years ago

1.4.9

7 years ago

1.4.8

7 years ago

1.4.7

7 years ago

1.4.6

7 years ago

1.4.5

7 years ago

1.4.4

7 years ago

1.4.3

7 years ago

1.4.2

7 years ago

1.4.1

8 years ago

1.4.0

8 years ago

1.3.5

8 years ago

1.3.4

8 years ago

1.3.3

8 years ago

1.3.2

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.13

8 years ago

1.2.12

8 years ago

1.2.11

8 years ago

1.2.10

8 years ago

1.2.9

8 years ago

1.2.8

8 years ago

1.2.7

8 years ago

1.2.6

8 years ago

1.2.5

8 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.3-beta

9 years ago