Skip to content
Klarhimmel UI

Klarhimmel mark

Klarhimmel
npx shadcn add https://ui.klarhimmel.com/r/klarhimmel-mark.json
DetailsAbout, usage, props and more

Klarhimmel's own mark for an app header: brand navy on light, ink on dark.

Preview

Klarhimmel mark
klarhimmel-mark.tsx
import { Theme } from '@/components/klarhimmel/theme/style';
import { KlarhimmelMark } from '@/components/klarhimmel/ui/klarhimmel-mark';

export default function Example() {
  return (
    <Theme theme="brand">
      <span className="flex items-center gap-2 font-semibold"><KlarhimmelMark />Klarhimmel</span>
    </Theme>
  );
}

Import

Import

import { KlarhimmelMark } from '@/components/klarhimmel/ui/klarhimmel-mark';
Files
klarhimmel-mark.tsx, in components/klarhimmel/ui/. With it: theme, utils.
Render in
Render it inside <Theme>, once near the root of your app. Tokens and fonts are scoped to it, so outside it the component is unstyled.

Props

PropTypeDefaultDescription
classNamestring-Extra classes, merged after the component's own.
tone'brand' | 'current''brand'current drops the brand colour so the mark takes its parent's text colour, as on a filled tile.