Opinionated React UI library, built with @lapidist/styles and TypeScript.
@lapidist/components
is available as an npm package.
See https://components.lapidist.net for the full documentation.
npm install @lapidist/components
Ensure you wrap your application with the <ThemeProvider>
component.
Here is a quick example to get you started:
import React from 'react';
import { createRoot } from 'react-dom/client';
import { ThemeProvider, Text } from '@lapidist/components';
import '@lapidist/components/style.css';
const App = () => (
<ThemeProvider>
<Text>Hello world</Text>
</ThemeProvider>
);
const root = createRoot(document.querySelector('#app'));
root.render(<App />);
- Quality over quantity: a small library of well-designed components is preferable to many poor components.
- Constraints are good: consistency takes precedence over configurability.
- Modern: we don't support older browsers.
@lapidist/components
is licensed under the MIT license. See LICENSE for the full text.