@saplings/murphi-ui
v0.17.2
Published
Murphi React web component system integrated with Sapling tokens
Readme
@saplings/murphi-ui
Compose React web screens with the Murphi theme and responsive components. The host supplies React and React DOM 18.3 or 19.
Install
npm install @saplings/murphi-uiQuick start
import { Button, Card, MurphiThemeProvider, Typography } from '@saplings/murphi-ui';
export function ProjectCard() {
return (
<MurphiThemeProvider>
<Card>
<Typography variant="h5">Projects</Typography>
<Button onClick={() => {}}>Continue</Button>
</Card>
</MurphiThemeProvider>
);
}API and integration
- Add
MurphiThemeProvideronce around your component tree. Import from the root,/components, or/core. - Use layout, form, overlay, navigation, and feedback components with your app state and accessible labels.
- Web styles use Emotion. For an SSR framework, integrate its Emotion SSR setup and verify styling after hydration. See this package's attribution and the UI platform guide.
Read the integration guide for configuration and operational details.
