0.2.4 • Published 8 months ago

relay-upstarts-design-library v0.2.4

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

Design Library

This is a design library of UI components for Svelte projects, using Tailwind CSS and Flowbite UI components.

The components are not the full set of UI components available from Flowbite; rather, we have selected only the Flowbite components that we use in our projects.

We also include a few customized browser-standard components, such as <footer>, that are very simple and customized for our own use.

This design library contains UI components in the src/lib/ui folder. The file src/lib/index.js is the entry point for the library.

Preview

This repository also contains a preview application in the src/routes folder. Use the application to preview the UI components in the library. View the preview application on GitHub pages at

Alternatively, you can clone this repository and run the preview application locally.

npm install
npm run dev

Each component in the library has a page that displays a preview of the component, code you can copy to use the component, and an interactive form where you can change the component's properties and see the changes in the preview.

Development

See the file README-DEV.md for instructions on how to edit or add components to the design library.

Usage

Import the components you wish to use from 'relay-upstarts-design-library'. Then use the components in your Svelte application.

<script>
	import { Button, Text } from 'relay-upstarts-design-library';
</script>

<Text tag="h3">Heading 3</Text>
<Text color="success">Success text default</Text>
<Button variant="secondary">Click me!</Button>
0.2.4

8 months ago

0.2.3

8 months ago

0.2.2

8 months ago

0.2.1

8 months ago

0.2.0

8 months ago

0.1.0

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago