npm.io
5.46.5 • Published 5h agoCLI

@orfium/ictinus

Licence
MIT
Version
5.46.5
Deps
25
Size
7.2 MB
Vulns
0
Weekly
0
Stars
27

Ictinus

React implementation of Orfium's Ictinus Design System.

Installation

Install the package using your package manager of choice:

pnpm install @orfium/ictinus

Getting Started

1. Add the Provider

Wrap your application with ThemeProvider and VanillaThemeProvider:

import { ThemeProvider } from '@orfium/ictinus';
import { ThemeProvider as VanillaThemeProvider } from '@orfium/ictinus/vanilla';

export function App() {
  return (
    <ThemeProvider>
      <VanillaThemeProvider>{/* Your app code here */}</VanillaThemeProvider>
    </ThemeProvider>
  );
}
3. Use Components

Import and use components in your application:

import { Box, Button } from '@orfium/ictinus/vanilla';

export function MyComponent() {
  return (
    <Box display="flex" alignItems="start" flexDirection="column">
      <Button>Submit</Button>
    </Box>
  );
}

Migrating from Emotion to Vanilla CSS

Components are gradually moving from Emotion (@orfium/ictinus) to Vanilla Extract (@orfium/ictinus/vanilla); switch imports per component and keep both theme providers until Ictinus no longer uses Emotion.

Documentation

For comprehensive guides, component API reference, and more examples:

Contributing

See the main repository for contribution guidelines.

License

Apache-2.0

Keywords