JSPM

  • Created
  • Published
  • Downloads 162
  • Score
    100M100P100Q78314F
  • License MIT

A column component of responsive-ui.

Package Exports

  • @responsive-ui/column
  • @responsive-ui/column/src/Column.svelte

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@responsive-ui/column) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@responsive-ui/column

A column component of responsive-ui.

Svelte v3 npm Bundle Size download LICENCE

Install

npm install @responsive-ui/column

or

yarn add @responsive-ui/column

Look and Feel

@responsive-ui/column

Properties, Events & Slots

type Device = {
  sm?: number;
  md?: number;
  xs?: number;
  lg?: number;
};

interface ColumnProps {
  span?: number | Device;
  justify?: string;
  class?: string;
  style?: string;
}

interface ColumnEvents {}

interface ColumnSlots {
  default: {};
}

declare class Column extends SvelteComponentTyped<
  ColumnProps,
  ColumnEvents,
  ColumnSlots
> {}

Example

<script>
  import Row from '@responsive-ui/row';
  import Column from '@responsive-ui/column';
</script>

<Row>
  <Column span={12}>Left</Column>
  <Column span={12}>Right</Column>
</Row>

Sponsors

WeTix

License

@responsive-ui/column is 100% free and open-source, under the MIT license.

Big Thanks To

Thanks to these awesome companies for their support of Open Source developers ❤

GitHub NPM