0.4.0 â€ĸ Published 9 months ago

cds-design v0.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

cds-design

A component library for CDS (Continuum Design System) by Verve.

npm MIT license npm GitHub top language GitHub commit activity (branch) Types Included


🚀 Features

  • đŸĒļ Lightweight: The library is very lightweight, that it costs around 5KB plus 2KB per component in your bundle.
  • ⚙ī¸ Framework Agnostic: The library is framework agnostic and can be used with any framework or even vanilla HTML.
  • 🔧 Customizable: The library is highly customizable and you can customize the components to your needs.
  • â™ŋī¸ Accessible: The library is accessible and follows the WAI-ARIA guidelines.
  • đŸ”Ĩ Performant: The library is performant by utilizing Web Components and employing Lazy loading, Tree-Shaking, and many more technologies under the hood.
  • đŸ’ģ Cross-Browser: The library is build on browser native technologies and works on all modern browsers.
  • 👨‍đŸ’ģ DX: The library is build with developer experience in mind and provides a great developer experience. All components are typed and provide great intellisense support.

âŦ‡ī¸ Installation

npm install cds-design

or

yarn add cds-design

or

pnpm add cds-design

đŸ“Ļ Usage

After installing you can directly use the components in your project.

Vanilla HTML

<script type="module">
    import { load } from "https://esm.run/cds-design" // or import load from "https://esm.run/cds-design"
    load("button", "input", "checkbox")
</script>

<cds-button>Click Me</cds-button>

React (JSX)

import { load } from "cds-design" // or import load from "cds-design"
load("button", "input", "checkbox")

export default () => {
  return (
    <cds-button>Click Me</cds-button>
  )
}

Vue (Composition API)

<script setup lang="ts">
    import { load } from "cds-design" // or import load from "cds-design"
    load("button", "input", "checkbox")
</script>

<template>
    <cds-button>Click Me</cds-button>
</template>

Svelte

<script context="module">
    import { load } from "cds-design" // or import load from "cds-design"
    load("button", "input", "checkbox")
</script>

<cds-button>Click Me</cds-button>

📚 Documentation

You can find the detailed documentation here.

📝 License

This project is licensed under the MIT License.

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page

đŸ’Ē Show your support

Give a ⭐ī¸ if this project helped you!

🤝 Contributors


Made with ❤ī¸ by Verve

0.2.1

10 months ago

0.2.0

10 months ago

0.4.0

9 months ago

0.2.2

10 months ago

0.1.1

10 months ago

0.0.2

12 months ago

0.0.1

1 year ago