@movable/ui
v3.18.1
Published
Movable Ink's shared MUI components and MUI theme for our vite applications
Readme
@movable/ui
todo: update
This repo contains the shared components for our frontend applications. Using this react component library guide
Local Development
Installation
- Ensure you have
voltainstalled on your computer - Clone the repo
npm install(note:npm, notyarn)
Usage
Ensure the project consuming this library has all the required peer dependencies.
WARNING: Providing Theme Colors to Custom Components
While within using app you'll be able to use (theme) => theme.palette... style of sx props. But within our custom component this does NOT traverse to the using app. You'll want to use the theme palette directly to ensure proper color strings. See #224
import palette from 'path_to_src/theme/palette';
export default InkCustomComponent() {
return (
<Box sx={{ backgroundColor: palette.neutral50 }}>
...
</Box>
)
}Alpha Pre-release Workflow
This project supports alpha releases for testing changes before full releases.
Manual Alpha Release
For testing specific features or changes:
- Navigate to Actions tab in GitHub repository
- Select "Release to NPM" workflow
- Click "Run workflow" button
- Configure options:
release_type: Selectprereleasedist_tag: Leave asalphaor customize (e.g.,beta,feature-test)increment: Leave empty for auto-increment or specify (patch,minor,major)
- Click "Run workflow" to trigger the release
Result: Creates version like 3.4.1-alpha.0 and publishes to npm with @alpha tag
Using Alpha Versions in Other Projects
Install alpha versions in your consuming projects:
# Install latest alpha
npm install @movable/ui@alpha
yarn add @movable/ui@alpha
# Install specific alpha version
npm install @movable/[email protected]
yarn add @movable/[email protected]View all available versions at: https://www.npmjs.com/package/@movable/ui?activeTab=versions
MCP Server
This repo includes an MCP (Model Context Protocol) server that exposes component information to AI assistants like Claude Code. See mcp-server/README.md for setup instructions.
Conventional Commits
This repo has conventional-commits We lint for this both pre-commit and on PR actions. It is required and will not pass without it.
Ex:
fix(percy): added percy snapshots for all component states
- active
- disabled
- focused