0.0.1-alpha.8 • Published 1 year ago

@enhance/layout-elements v0.0.1-alpha.8

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

Enhance Layout Elements

A collection of custom elements for implementing layout patterns.

⚠️ Currently under active development and not recommended for use in production.

Usage

  1. Install the package:
    npm i @enhance/layout-elements
  2. Expose the element you'd like to use:
    // app/elements/layout-collection.mjs
    import { collection } from '@enhance/layout-elements'
    export default collection
  3. Use the element in your app:

    // app/pages/index.html
    <layout-collection>
      <img src='…' alt='…' />
      <img src='…' alt='…' />
      <img src='…' alt='…' />
    </layout-collection>

Individual element descriptions and links to their docs follow below.

Elements

Collection

A single file component for creating a horizontally scrollable collection of items, with optional scroll snapping.

Read the docs

Sidebar

A single file component for creating an adaptive sidebar layout.

Read the docs

0.0.1-alpha.8

1 year ago

0.0.1-alpha.7

1 year ago

0.0.1-alpha.6

1 year ago

0.0.1-alpha.5

1 year ago

0.0.1-alpha.4

1 year ago

0.0.1-alpha.3

1 year ago

0.0.1-alpha.2

1 year ago

0.0.1-alpha.1

1 year ago

0.0.1-alpha.0

1 year ago