@uxland/no-content
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

<uxl-no-content>

What is?

It is a web component that allows you to create a no content component.

How Install
npm i --save @uxland/no-content
How to use?

import the component and use it in the html with the uxl-no-content tag

import "@uxland/no-content";

<body>
    <uxl-no-content></uxl-no-content>
</body>
How customize

Its posible customize the icon & mesages

<body>
    <uxl-no-content>
        <div slot="icon">
            <iron-icon icon="custom-icon"></iron-icon>
        </div>
        <div slot="message">
            Custom text message
        </div>
    </uxl-no-content>
</body>

How Stylize

Its posible customize style with css shadow parts

uxl-no-content{

    &::part(icon__container){
        ...
    }

    &::part(icon__slot){
        ...
    }

    &::part(message__container){
        ...
    }

    &::part(message__slot){
        ...
    }
}

Package Sidebar

Install

npm i @uxland/no-content

Weekly Downloads

7

Version

2.0.0

License

none

Unpacked Size

16.2 kB

Total Files

19

Last publish

Collaborators

  • avizcaino
  • uxland-admin