Component library for Rokt applications, built on top of Ant Design.
Components That Scale
| Dependency | Version | Notes |
|---|---|---|
| React | >=19.0.0 |
React 19+ |
| React DOM | >=19.0.0 |
Must match React version |
| Node.js | >=24.12.0 |
For development |
yarn add @mparticle/aquarium antd@6 dayjs@1Or with npm:
npm install @mparticle/aquarium antd@6 dayjs@1Add the CSS reset to your app entry point (_app.tsx, layout.tsx, or index.tsx):
import 'antd/dist/reset.css'import { Button, Space, Typography } from '@mparticle/aquarium'
import { PaddingSm } from '@mparticle/aquarium/dist/style'
export const MyComponent = () => {
return (
<Space direction="vertical">
<Typography.Title level={3}>Hello Aquarium</Typography.Title>
<Typography.Text>Successfully installed!</Typography.Text>
<Space>
<Button type="primary" style={{ paddingLeft: PaddingSm }}>
Primary
</Button>
<Button>Default</Button>
</Space>
</Space>
)
}New to Aquarium? See ADOPTING.md for a step-by-step onboarding guide.
Need a component that doesn't exist yet? Open a Component Request on GitHub Issues.
Clone the repository and install dependencies:
git clone git@github.com:mParticle/aquarium.git
cd aquarium
npm installRun Storybook for local development:
npm run storybookRun unit tests:
npm run test-storybookSee CONTRIBUTING.md.
Please make sure any new or updated components are present, tested and verified within Storybook.
- Internal: Join the Aquarium GChat space for weekly updates and discussions
- Public: GitHub Issues — component requests, bug reports, questions
Aquarium is available under the Apache License, Version 2.0. See the LICENSE file for more info.
