Report a problem or share feedback← Catalog
Code Block
curatedfreeaceternity/code-block
A configurable code block component built on top of react-syntax-highlighter.
drop-inTechnicalPremiumFuturistic
$
npx shadcn@latest add @aceternity/code-blocknpm deps: @tabler/icons-react, react-syntax-highlighter
Our notes
Syntax-highlighted block with tabs (react-syntax-highlighter).- Source
- Aceternity UI
- Kind
- component
- Categories
- code, features
- Use as
- drop-in — replaces your component
- Applies to
- codefeatures
- Motion
- not tagged (static or unknown)
- Tags
- special
- Licence
- Free for unlimited personal & commercial projects; no redistributing as a competing library. Pro/All-Access is a one-time purchase.
- Live demo
- ui.aceternity.com
- Docs
- ui.aceternity.com
Similar
Compare all 4 →- Marketing Feature Codecult-ui/marketing-feature-codeMarketing section for code or network policy features
- Apple Cards Carouselaceternity/apple-cards-carouselApple-style card carousel that expands into a detail view.
- Bento Gridaceternity/bento-gridSimple bento layout. Colours are hard-coded neutral-200/white/black — prefer @oc/feature-bento for theme-aware tiles, or swap classes to bg-card/border.