BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/octane/types

Types

octane/types
FreeUtility

Host-element prop bases shared by the components.

Live preview

live · rendered by the registry
Rendered by octane on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/octanejs/octane/main/packages/shadcn/registry/types.json

Source

lib/types.tsraw.githubusercontent.com/octanejs/octane/main/packages/shadcn/registry/types.json
1// Host-element prop bases for the ported components. Octane exposes the same
2// per-tag prop tables React does (`JSX.IntrinsicElements`), so a component that
3// spreads onto a `<button>` types its rest props as that tag's real props —
4// misspellings and wrong-typed handlers are caught at the call site.
5import type { JSX } from 'octane/jsx-runtime';
6
7export type HostProps<T extends keyof JSX.IntrinsicElements> = JSX.IntrinsicElements[T];
8
9/** Props for a component whose host is a `<div>` (the common wrapper shape). */
10export type DivProps = HostProps<'div'>;

Files it writes

  • lib/types.ts

Facts

Registry
octane
Type
registry:lib
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-07
Last confirmed
2 days ago

Go to the source

Docs on octane octanejs.dev octanejs/octane on GitHub Raw registry item This item as JSON

More from octane

All 44 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Theme tokensthemeoctaneUtilitiesFreeno deps
UtilsutilsoctaneUtilitiesFree2 deps
BlockDex

Built by

Kynth Studios

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studios

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studios

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex