Skip to Content

Residual Razor

Hollow ring mark drawn as a thin inset stroke in currentColor, with no glow. The plainest mark in the residual set, used as a bullet or status ring.

Installation

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

Usage

import { ResidualRazor } from "@/components/graphics/residual-razor"

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

This example installs with everything it uses:

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

API reference

A hollow ring drawn as a thin line in the current text color. 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 Razor:

Last updated on