Skip to Content

Residual Flat

Flat disc mark in the theme primary color with a faint inner white rim, large by default. The unlit body of the residual set, used as a center point or large badge.

Installation

pnpm dlx shadcn@latest add @01orbital/residual-flat

Usage

import { ResidualFlat } from "@/components/graphics/residual-flat"

export default function Demo() {
  return (
    <>
      <ResidualFlat />
    </>
  )
}

This example installs with everything it uses:

pnpm dlx shadcn@latest add @01orbital/residual-flat-demo

API reference

A flat disc in the primary color with a faint inner rim. Decorative and hidden from assistive tech.

Prop

Type

It also accepts the HTML attributes of the element it renders.

Dependencies

npm: cn. The CLI installs it for you.

Used in blocks

2 blocks are built with Residual Flat:

Last updated on