Skip to content

Marimekko

Variable-width stacked columns: each column is as wide as its total and split by share, so area is value.

$149 once · every Pro piece

Customize

Series are told apart by grey tone and texture, with 2px gaps between every block, and the largest block carries the accent. Point at a block, or step with the arrow keys (left and right for columns, up and down for series): its series stays while every other block steps back, faint bridges join that series across the columns so its share reads as one path, and the block prints its share. Columns rise left to right on entry, and switching a series off in the legend re-splits the columns and their widths on a 500ms morph.

Install

npx shadcn@latest add @obsyde/marimekko

Needs your licence key · Get Pro

Usage

Import it from where the CLI puts it, or copy the files below by hand.

import { Marimekko } from '@/components/obsyde/ember/marimekko/Marimekko';

export function Example() {
  return (
    <Marimekko />
  );
}

Files

What you get with Pro: plain React, TypeScript and CSS, with no dependencies.

  • ember/marimekko/Marimekko.tsxcomponent
  • ember/marimekko/marimekko.cssstyles
  • ember/marimekko/MarimekkoDemo.tsxdemo
  • ember/viz-kit/viz-kit.cssshared
  • ember/viz-kit/Tooltip.tsxshared
  • ember/viz-kit/focus.tsshared
  • ember/viz-kit/patterns.tsxshared
  • ember/viz-kit/roll.tsshared
  • ember/shared/rolling-number.cssshared
  • ember/shared/spring.tsshared
  • ember/shared/accent.tsshared
  • ember/viz-kit/scale.tsshared
  • ember/viz-kit/motion.tsshared
  • ember/viz-kit/chart.tsxshared
  • ember/shared/ember.cssshared
  • ember/viz-kit/touch.tsshared
  • ember/viz-kit/keyboard.tsshared
  • ember/viz-kit/size.tsshared
  • ember/viz-kit/States.tsxshared
  • ember/viz-kit/shape.tsshared
  • ember/viz-kit/marks.tsxshared
  • ember/viz-kit/Legend.tsxshared
  • ember/viz-kit/Grid.tsxshared
  • ember/viz-kit/demo.tsxshared
  • ember/viz-kit/demo.cssshared
  • ember/viz-kit/Axis.tsxshared

API

PropTypeDefault
accentAccent'ember' | 'volt' | 'arc''ember'
columnsColumnsnumber5
seriesSeriesnumber4
patternPattern'series' | 'none''series'
highlightHighlight'max' | 'none''max'
bridgesBridgesbooleantrue
legendLegend'row' | 'list' | 'none''row'
tooltipTooltip'panel' | 'none''panel'
backgroundBackground'grid' | 'none''grid'
statusStatus'ready' | 'loading' | 'empty''ready'
valueLabelsValue labelsbooleanfalse
heightHeightnumber300
seedSeednumber3