Dev Design Library

Preset Scope

Activates a preset for a subtree by writing the data-preset attribute. Required by every preset.

Preset Scope preview
Library
FLX UI
Framework
React
Type
component
License
AGPL-3.0
Install
pnpm dlx shadcn@latest add @flx/preset-scope
Files
  • registry/presets/preset-scope.tsx
  • src/lib/utils.ts
Source
https://github.com/felipemenezes098/ui-flx

Categories

More from FLX UI