Skip to content

feat: Switch atom component - #24

Merged
eumaninho54 merged 7 commits into
release/v0.3.0from
feat/switch-atom
May 3, 2026
Merged

feat: Switch atom component#24
eumaninho54 merged 7 commits into
release/v0.3.0from
feat/switch-atom

Conversation

@eumaninho54

Copy link
Copy Markdown
Member

Pull Request

Description

Adds the Switch component to the library as an Atom. Controlled component (isOn + onPress), uses react-native-reanimated to animate track background color and thumb position on toggle. All dimensions use design system tokens.

Type of change

  • 🐛 Bug fix
  • ✨ New component
  • 🎨 Token / style change
  • 📄 Documentation
  • 🔨 Configuration / tooling
  • ♻️ Refactor
  • 💥 Breaking change

Storybook

  • Story created or updated in example/stories
  • All variants and states are covered

Breaking changes

None.

References

  • Closes #

eumaninho54 and others added 7 commits May 2, 2026 22:21
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eumaninho54
eumaninho54 merged commit 5aa7f56 into release/v0.3.0 May 3, 2026
2 checks passed
@eumaninho54
eumaninho54 deleted the feat/switch-atom branch May 3, 2026 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant