Start here
  • InstallationAdd Nelumbo to a shadcn project
  • ThemingBrand accent, neutrals, dynamic color
  • Biology componentsSequences, maps, plates and trees
  • katalyx.bio

    Installation

    Add Nelumbo's theme and components to a shadcn/ui project with Tailwind CSS v4.

    Nelumbo is a shadcn registry. You add its theme and components with the shadcn CLI, and they land in your project as source you own, like shadcn's own components.

    Requirements

    • A React project set up for shadcn/ui (npx shadcn@latest init), with a components.json.
    • Tailwind CSS v4.

    1. Add the registry

    Add Nelumbo to components.json once:

    components.json
    {  "registries": {    "@nelumbo": "https://docs.katalyx.bio/r/{name}.json"  }}

    2. Install the theme

    The theme writes Nelumbo's color roles, surfaces, elevation, shape, motion and type roles into your CSS:

    npx shadcn@latest add @nelumbo/theme

    It's generated with a blue brand accent and pure grays. To use your own brand color, see Theming.

    3. Add components

    Install components by name. Their dependencies, such as @nelumbo/icon, come along:

    npx shadcn@latest add @nelumbo/button @nelumbo/icon-button

    Each component page starts with its install command. Then import it as you would a shadcn component:

    import { Button } from "@/components/ui/button"​export function Save() {  return <Button>Save changes</Button>}

    4. Load the icons

    Nelumbo uses Material Symbols Rounded, not lucide. Load a subset of the font with the names you use. See Icons.

    Fonts

    Nelumbo leaves the typeface to you: its type roles set size, line height, weight and tracking, and inherit the family from --font-sans. These docs use DM Sans and DM Mono, as katalyx.bio does.

    globals.css
    @theme inline {  --font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;  --font-mono: "DM Mono", ui-monospace, monospace;}