@enhance/layout-elements

0.0.1-alpha.8 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @enhance/layout-elements

Weekly Downloads

4

Version

0.0.1-alpha.8

License

Apache-2.0

Unpacked Size

20.2 kB

Total Files

8

Last publish

Collaborators

  • colepeters
  • ryanbethel
  • brianleroux
  • tbeseda
  • macdonst
  • ryanblock
  • dam