@lism-ui/core

0.0.8 • Public • Published

Installation

For details, see Docs

1. Installation

npm i @lism-ui/core

or

pnpm add @lism-ui/core

2. Loading CSS

Please import CSS as a global style.

import '@lism-ui/core/css/all.css';

(For example, if it is Next.js, load it with _app.js or layout.js.)

For HTML sites, you can also load CSS via CDN.

<link href="https://cdn.jsdelivr.net/npm/@lism-ui/core/dist/css/all.css" rel="stylesheet" />

3. Using Components

import { Box, Text, ... } from '@lism-ui/core';

// ...
<Box p={20} bgc="base-2">
	<Text fz="l">Lorem ipsum text...</Text>
</Box>
// ...

include package

© Phosphor Icons Website: https://phosphoricons.com/ Source: https://github.com/phosphor-icons License: MIT License, https://opensource.org/licenses/MIT

Package Sidebar

Install

npm i @lism-ui/core

Weekly Downloads

2

Version

0.0.8

License

MIT

Unpacked Size

325 kB

Total Files

244

Last publish

Collaborators

  • loos